Hi, I'm trying to add a metronome 'click track' to a MIDI that is to be played on a Casio CDP-130 which has a limited range of instruments (it cannot do woodblock for example).
The General MIDI percussion standard maps "metronome click" and "metronome bell" to key numbers 33 and 34 in channel 10, but Lilypond's \drums does not seem to have any note commands to produce these key numbers. I can do: \drums { trim4 cl cl cl } to use muted triangle and claves (which are available on the CDP, as it uses them for button-press sounds), but this doesn't sound as good as the CDP's built-in metronome sound which uses key numbers 33 and 34. I can make a separate Python script to go through Lilypond's MIDI output and change key numbers 80 and 75 to 33 and 34 when on channel 10, but it would be more convenient if Lilypond itself could have the 'metronome click' and 'metronome bell' options as part of what is available within \drums. This should simply be a matter of adding two new abbreviations and associating them with the appropriate key numbers. Would this be an enhancement that can be added? or is there even a way to do it from the .ly file in Scheme? Thanks. Silas -- Silas S. Brown http://ssb22.user.srcf.net