I'm not at a computer to see if this works, but could you, if there aren't too 
many instruments, do simultaneous voices with a midiInstrument set for each 
percussion instrument? It's certainly not an elegant nor robust of a solution, 
but it may get you what you want for now. 

Regards, 
Abraham

Sent from my iPhone

> On Sep 24, 2014, at 6:26 PM, Peter Crighton [via Lilypond] 
> <[email protected]> wrote:
> 
> I’m in the process of builidng my own custom drumset. No problems here with 
> notation, but I’m unable to define custom MIDI notes.
> 
> 
> \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?
> 
> --
> Peter Crighton | Musician & Music Engraver based in Mainz, Germany
> http://www.petercrighton.de
> 
> _______________________________________________ 
> lilypond-user mailing list 
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://lilypond.1069038.n5.nabble.com/Mapping-custom-drum-notes-to-MIDI-notes-tp166774.html
> To start a new topic under User, email [email protected] 
> To unsubscribe from Lilypond, click here.
> NAML




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Mapping-custom-drum-notes-to-MIDI-notes-tp166774p166775.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to