On 2018-11-13 1:16 pm, Wolfling Vini wrote:
This is only a problem because most of our pieces have one or two
staves
for flutes. So I have to keep the custom pitch names local; otherwise,
every time I need to play a b, if I'm not mistaken, I'd need to type
"trh"
instead of "b" or "si". However, this line in your code:
drumPitchTable = #(alist->hash-table midiDrumPitches)
Makes me think your solution IS local rather than the global scope. Is
this
correct? Like do pitch names remain unchanged for voices used in staves
where this line is not present? Sorry if the question is silly; I can't
run
the code you adapted or the one provided in the link right now.
The \with block makes those changes specific to that particular
DrumStaff, so you should not see any issues with other staves.
Also, the new drum pitch names in my example, taikolefthand and
taikorighthand, along with their handy abbreviations, tlh and trh, are
only valid within \drummode. Normal note pitch names are a different
thing, so there should be no worry about the two interfering.
-- Aaron Hill
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user