|
From: | Peter Crighton |
Subject: | Mapping custom drum notes to MIDI notes? |
Date: | Thu, 25 Sep 2014 02:25:34 +0200 |
\version "2.19.13"
drumPitchNames = #'((bassdrum . bassdrum)
(bd . bassdrum)
(icebell . icebell)
(ice . icebell))
midiDrumPitches = #`((bassdrum . ,(ly:make-pitch -3 6 NATURAL))
(icebell . ,(ly:make-pitch -1 4 NATURAL)))
#(define drums '((bassdrum default #f -3)
(icebell diamond #f 7)))
\score {
{
\new DrumStaff \with { drumStyleTable = #(alist->hash-table drums) } <<
\new DrumVoice \drummode {
bd4 bd bd ice
}
>>
}
\layout {}
\midi {}
}
It seems that midiDrumPitches doesn’t get applied. Do I have to do that manually? What else could be wrong?
[Prev in Thread] | Current Thread | [Next in Thread] |