MIDI (Musical Instrument Digital Interface) is a standard for
connecting and recording digital instruments. A MIDI file is like a
tape recording of a MIDI instrument. The \midi
block makes the
music go to a MIDI file, so you can listen to the music you entered.
It is great for checking the music: octaves that are off, or
accidentals that were mistyped, stand out very much when listening to
the musical transcription.
\midi
can be used in similarly to \paper { }
, for
example,
\score { ..music.. \midi { \tempo 4=72 } \paper { } }
Here, the tempo is specified using the \tempo
command. In this
case the tempo of quarter notes is set to 72 beats per minute. More
information on auditory output is in the Sound section in the
notation manual.
This page is for LilyPond-2.0.0 (stable-branch).