[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hidden accidentals hiding visible ones
From: |
Nick Payne |
Subject: |
Hidden accidentals hiding visible ones |
Date: |
Tue, 22 Feb 2011 17:11:35 +1100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 |
This is probably user error rather than anything else, but I just wasted
20 minutes wondering why an accidental on a note in a score was missing
in the PDF output before realising that the same note appeared earlier
in the same bar but in a hidden voice.
In most guitar scores I use a hidden voice for such things as
simultaneous text spanners, arpeggio brackets to indicate barring, etc.
The following example shows that the order of the voices in the source
file affects whether the accidental appears or not:
\version "2.13.50"
\relative c' {
<< {
\override NoteColumn #'ignore-collision = ##t
\override NoteHead #'transparent = ##t
\override Stem #'transparent = ##t
\override Dots #'transparent = ##t
\override Accidental #'transparent = ##t
\override NoteHead #'no-ledgers = ##t
c4 cis cis cis |
}
\\ { c4 c cis cis }
>>
}
\relative c' {
<< { c4 c cis cis }
\\ {
\override NoteColumn #'ignore-collision = ##t
\override NoteHead #'transparent = ##t
\override Stem #'transparent = ##t
\override Dots #'transparent = ##t
\override Accidental #'transparent = ##t
\override NoteHead #'no-ledgers = ##t
c4 cis cis cis |
}
>>
}
Nick
test.png
Description: PNG image
- Hidden accidentals hiding visible ones,
Nick Payne <=