That is not practical in my situation if I understand you correctly. I have
a drumkit defined with at least 26 individual pieces in the manner written
before. Some of them will share the same pitch and can have the same midi
sound, but have different noteheads. But so far I’m getting only sound for
the notes which are included in LilyPond by default (e.g. bassdrum,
crashcymbala, etc.) whereas others (e.g. icebell, snarea, etc.) are
displayed correctly, but don’t produce a MIDI note at all.


--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de

2014-09-25 3:11 GMT+02:00 tisimst <tisimst.lilyp...@gmail.com>:

> 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] <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=166775&i=0>> 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] <http://user/SendEmail.jtp?type=node&node=166774&i=0>
> 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 [hidden email]
> <http://user/SendEmail.jtp?type=node&node=166775&i=1>
> To unsubscribe from Lilypond, click here.
> NAML
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
> ------------------------------
> View this message in context: Re: Mapping custom drum notes to MIDI notes?
> <http://lilypond.1069038.n5.nabble.com/Mapping-custom-drum-notes-to-MIDI-notes-tp166774p166775.html>
> Sent from the User mailing list archive
> <http://lilypond.1069038.n5.nabble.com/User-f3.html> at Nabble.com.
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to