bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unwanted fretboard repeat


From: Amreg
Subject: Unwanted fretboard repeat
Date: Fri, 20 Dec 2013 22:16:28 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi,

\set chordChanges = ##t is used to avoid repeating chord names until an explicit chord change occurs. Unfortunately, this works fine for ChordNames "staves" but not for FretBoards "staves" using the same musical expression (consistent behaviour should be expected). This is particularly annoying if a chord change occurs outside of a beat due to a syncopation, because getting the exact duration of the chord implies repeating/tying several instances of it.

Example below (tested in 2.16, but should behave the same in 2.17.x) :

chordNames = \chordmode {
  \set chordChanges = ##t
  c4. d8~ d2
}
<<
  \new ChordNames \chordNames
  \new FretBoards \chordNames
  \new Staff \relative c' {
    c4. d8~ d2
  }
>>

Additionally, I have another question about the above "\set" command: the chord is repeated at each line beginning, /whether or not/ there is a real chord change. Unfortunately, I've not seen very often this kind of behaviour : in most printed scores I've seen, the chord is /not/ repeated at each line beginning as long as there is no chord change; a chord appears at a line beginning only if an explicit chord change occurs exactly there.

Maybe engraving practices could differ in different countries, but I think there should at least be an option left to the user to avoid this extra-repeated chords (obviously, this should apply also to fretboards).
In other words, in the following example:

chordsNames = \chordmode {
  \set chordChanges = ##t
  c1 \break c
}
<<
  \new ChordNames \chordsNames
  \new FretBoards \chordsNames
  \new Staff \relative c' {
    c1 c
  }
>>

there should be possible to have neither the chord name nor the fretboard at the beginning of the second staff.

Regards.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]