]> git.donarmstrong.com Git - lilypond.git/commitdiff
Small update from mailist.
authorGraham Percival <graham@percival-music.ca>
Sat, 10 Mar 2007 05:23:12 +0000 (21:23 -0800)
committerGraham Percival <graham@percival-music.ca>
Sat, 10 Mar 2007 05:23:12 +0000 (21:23 -0800)
Documentation/user/non-music.itely

index cf6f1a007c9b3aba289d3221c3e63cfc89b7d33e..c8754c5bb1e7c42624b81654aa27d0ed4d1d7fbf 100644 (file)
@@ -870,6 +870,19 @@ will not work properly but
 will.
 
 
+MIDI output is only created when the @code{\midi} command is within
+a @code{\score} block.  If you put it within an explicitly instantiated
+context ( i.e. @code{\new Score} ) the file will fail.  To solve this,
+enclose the @code{\new Score} and the @code{\midi} in a @code{\score} block.
+
+@example
+\score @{
+  \new Score @{ @dots{}notes@dots{} @}
+  \midi
+@}
+@end example
+
+
 @node MIDI block
 @subsection MIDI block
 @cindex MIDI block