I was thinking along the lines of defining my own sort of drumpitch-init.ly file and mapping my notes to the midi pitches. Is this possible?
I currently have: %RightHand and LeftHand pitchnamesSidedrum = #`( (rh . ,(ly:make-pitch 0 1 NATURAL)) (lh . ,(ly:make-pitch 0 -1 NATURAL)) ) #(ly:parser-set-note-names parser pitchnamesSidedrum) and tell Lilypond to map those notes to the snare sound (or the bass or tomtom)? any hints on how the drumpth-init.ly file actually works? 2009/4/17 Nick Payne <nick.pa...@internode.on.net>: > Try \set Staff.midiInstrument="gunshot" > > Nick > >> -----Original Message----- >> From: Matthew Rowles [mailto:rowle...@gmail.com] >> Sent: Friday, 17 April 2009 20:51 >> To: Nick Payne >> Cc: lilypond-user >> Subject: Re: Pick a pitch/instrument in MIDI output >> >> I've read all of that. >> >> All of those instruments are pitched. I want just a snare drum to hit >> out the rhythm. >> >> I can't access the percussion midi instruments as I'm not using a drum >> staff, and if I was, the notes would still change (percussion) >> instrument as the "pitch" changed. >> >> Basically, I want to replicate an audio RhythmStaff. >> >> So, maybe a better phrased question: Can I pick a particular midi >> instrument "pitch" (eg c', snare etc...) and use that for all notes in >> my score? >> >> >> 2009/4/17 Nick Payne <nick.pa...@internode.on.net>: >> > See s.3.5.1 of the notation reference manual. And appendix B.4 of the >> manual >> > lists all the MIDI instrument names. >> > >> > Nick >> > >> >> -----Original Message----- >> >> From: lilypond-user-bounces+nick.payne=internode.on....@gnu.org >> >> [mailto:lilypond-user-bounces+nick.payne=internode.on....@gnu.org] >> On >> >> Behalf Of Matthew Rowles >> >> Sent: Friday, 17 April 2009 11:01 >> >> To: lilypond-user >> >> Subject: Pick a pitch/instrument in MIDI output >> >> >> >> Hi all >> >> >> >> >> >> I have some (pitched) music that I want to output to midi as a snare >> >> drum (other percussion based instruments - bass drum, tom- >> tom...) for >> >> rhythm practice. >> >> >> >> How can I do this? >> >> >> >> >> >> \version "2.12.2" >> >> music = { >> >> \time 4/4 >> >> \tempo 4 = 150 >> >> >> >> \relative c'{ >> >> c4. g c16 b' c d >> >> e16 d e f g4 g'4 r >> >> R1 >> >> } >> >> } >> >> >> >> \score { >> >> \music >> >> } >> >> >> >> \score { >> >> \music >> >> \midi { >> >> %do I put things in here to make >> >> % the output a snare drum? >> >> } >> >> } >> >> >> >> >> >> >> >> >> >> -- >> >> Matthew Rowles >> >> >> >> - Be Alert. Australia needs lerts. >> >> >> >> >> >> _______________________________________________ >> >> lilypond-user mailing list >> >> lilypond-user@gnu.org >> >> http://lists.gnu.org/mailman/listinfo/lilypond-user >> >> No virus found in this incoming message. >> >> Checked by AVG - www.avg.com >> >> Version: 8.0.238 / Virus Database: 270.11.59/2063 - Release Date: >> >> 04/16/09 16:38:00 >> > >> > >> >> >> >> -- >> Matthew Rowles >> >> - Be Alert. Australia needs lerts. >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 8.0.238 / Virus Database: 270.11.59/2063 - Release Date: >> 04/16/09 16:38:00 > > -- Matthew Rowles - Be Alert. Australia needs lerts. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user