On Fri, 12 Jul 2013 21:23:09 +0200 Thomas Morley <[email protected]> wrote:
> 2013/7/12 jboogie <[email protected]>: > > Hi, I'm very new to lilypond and trying to hack my way to a > > score for a small brazilian percussion ensemble. Actually the visive > > output is fine for now, there's just one piece of code I don't > > understand. > > > > To achieve a staff with two lines for an agogo bell, I used the > > example for woodblocks in the "Common notation for percussions" > > manual section: > > > > > > #(define agogo '((hiwoodblock default #t 2) > > (lowoodblock default #t -2))) > > > > agogostaff = { > > \set DrumStaff.instrumentName = #"Agogo" > > \override DrumStaff.StaffSymbol #'line-positions = #'(-2 2) > > \set DrumStaff.drumStyleTable = #(alist->hash-table agogo) > > \override Staff.BarLine #'bar-size = #3 > > } > > > > \new DrumStaff { > > \agogostaff > > \drummode { > > \time 2/4 > > wbl8 wbl16 wbl wbh8-> wbl | > > wbl8 wbl16 wbh-> ~ wbh wbl16 r8 | > > } > > } > > > > > > This works and produces the desired output. What I don't understand > > is if "hiwoodblock", "lowoodblock", "wbl" and "wbh" are hardcoded, > > or if I can change them, and if yes how? > > > > cheers, > > renato > > > > > > > > _______________________________________________ > > lilypond-user mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/lilypond-user > > Hi renato, > > easiest might be to insert new some namings into 'drumPitchNames' via: > > %%%%%%%% > %% snippet1-start > %%%%%%%% [...] > %%%%%%%% > %% snippet2-end > %%%%%%%% Hi, thanks! that's better :) > Btw, from your code (\override Staff.BarLine #'bar-size = #3) I think > you're using 2.12.3. > Why? I'm using 2.16.2, that example was simply copy pasted from the docs thanks again, renato _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
