From: Heikki Junes Date: Sun, 14 Nov 2004 21:11:13 +0000 (+0000) Subject: add code snippets for MIDI. X-Git-Tag: release/2.5.14~552 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=aa1d0337552a9a3ae994a2d1c4ecb534d0224743;p=lilypond.git add code snippets for MIDI. --- diff --git a/ChangeLog b/ChangeLog index 54809d42d3..b3e861d6c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-11-14 Heikki Junes + + * Documentation/user/sound-output.itexi: add code snippets for MIDI. + 2004-11-14 Jan Nieuwenhuizen * lily/font-metric.cc (get_indexed_char_stencil): Bugfix: get diff --git a/Documentation/user/sound-output.itexi b/Documentation/user/sound-output.itexi index 66fc5377c8..6a90ff227d 100644 --- a/Documentation/user/sound-output.itexi +++ b/Documentation/user/sound-output.itexi @@ -123,6 +123,12 @@ The MIDI instrument name is set by the @code{Staff.midiInstrument} property. The instrument name should be chosen from the list in @ref{MIDI instruments}. +@example + \set Staff.midiInstrument = "glockenspiel" + @var{...notes...} +@end example + If the selected instrument does not exactly match an instrument from -the list of MIDI instruments, the Grand Piano instrument is used. +the list of MIDI instruments, the Grand Piano (@code{"acoustic grand"}) +instrument is used.