⌂ Customized drum notation in printed and MIDI output
Customized drum pitch
names (suitable for a custom drum style, for example) may be used both in printed and MIDI output by defining such variables as drumPitchNames
, drumStyleTable
and midiDrumPitches
, as demonstrated here.
In short, this snippet
- defines some "pitch" names,
- defines how they will be rendered,
- tells LilyPond to use them for layout,
- assigns pitches to the names, and
- tells LilyPond to use them for MIDI output.