Hi all,My question is how to beneficiate of percent in an "repeat volta" alternative ?
See attached pdf / script. - First line is what i don't want : having to repeat first measure in the first alternative - 2nd is what i want with using the trick of a rest + percent sign stencil Question #1 is : - how to simply have the percent without cheating ? - if not possible, how to customize the stencil to have the basic percent look ? Question #2 is : - on both lines, you can see that the upper lines for 1st and 2nd alternatives are not vertically aligned. That's visually sad. How to change that ? Thanks in advance for your advices !
drumContentsUp = \drummode { \repeat volta 2 { \repeat percent 3 { sn4 sn sn sn } } \alternative { { sn4 sn sn sn } { tomh8 tomh tommh tommh toml toml cymc4 } } \break \repeat volta 2 { \repeat percent 3 { sn4 sn sn sn } } \alternative { { \override MultiMeasureRest #'stencil = #ly:multi-measure-rest::percent \override MultiMeasureRest #'staff-position = #0 R1 } { tomh8 tomh tommh tommh toml toml cymc4 } } \break } \paper { indent = 0\cm } \score { << \new DrumStaff { << \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) \new DrumVoice = "up" { \voiceOne \drumContentsUp } >> } >> }
Volta and percent.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user