Just thinking out loud, but could it be that the default sound font doesn't
have the instruments you are trying to use?
- Abraham
Sent from my iPhone
> On Sep 24, 2014, at 7:52 PM, Peter Crighton-4 [via Lilypond]
> <ml-node+s1069038n166778...@n5.nabble.com> wrote:
>
> 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 <[hidden email]>:
>> 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]>
>>> 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 [hidden email]
>>> To unsubscribe from Lilypond, click here.
>>> NAML
>>
>> View this message in context: Re: Mapping custom drum notes to MIDI notes?
>> Sent from the User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> lilypond-user mailing list
>> [hidden email]
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> _______________________________________________
> 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-tp166774p166778.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
> 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-tp166774p166779.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user