]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/sound-output.itexi
add code snippets for MIDI.
[lilypond.git] / Documentation / user / sound-output.itexi
index 66fc5377c8246101c4d6805ae1221c90591924f5..6a90ff227d4353586fa1935756d105d8d89d183f 100644 (file)
@@ -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.