lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I create from my custom drum note to a pitch? (for fransposi


From: Thomas Morley
Subject: Re: How can I create from my custom drum note to a pitch? (for fransposing)
Date: Fri, 1 Apr 2016 12:47:10 +0200

2016-04-01 9:33 GMT+02:00 Bernard <address@hidden>:
> On 01-04-16 00:31, Thomas Morley wrote:
[...]
> Looks good. There is only one voice and used in both layout and midi. In the
> midi file I can hear the result except the first note.
> I use LMMS to view and edit the imported midi file. I can not see the second
> note, after the rest, at all. Also not an octave higher or lower.
> In my test all note's where visible, and could be heard, in the midi file.

I don't have LMMS, so I use built-in scripts for testing.
The command-line sequence is:

lilypond file-name.ly
midi2ly file-name.midi
gedit file-name-midi.ly

>
> You used random settings, so I adjusted it to my custom, good looking layout
> setting. To my surprise this resulted in an empty midi file.
> So I made an error somehow, but I could not find out where. I disabled the
> staff instrumentName but this made no difference.

> drumPitchNames.dbass      = #'dbass
> drumPitchNames.dba        = #'dbass  % db seems to be in use
[...]

It turns out that you need to use the full long name to insert new
settings into midiDrumPitches.
Not:
> midiDrumPitches.dba = g
but
midiDrumPitches.dbass = g

[...]

Complete file attached.


HTH,
  Harm

Attachment: new-drum-pitches-02.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]