Try \set Staff.midiInstrument="gunshot" Nick
> -----Original Message----- > From: Matthew Rowles [mailto:[email protected]] > 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 <[email protected]>: > > 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: [email protected] > >> [mailto:[email protected]] > 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 > >> [email protected] > >> 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 _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
