]> git.donarmstrong.com Git - lilypond.git/commitdiff
Some manual documentation changes in the wake of allowing music in output defs
authorDavid Kastrup <dak@gnu.org>
Fri, 2 Mar 2012 15:12:55 +0000 (16:12 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 2 Mar 2012 15:12:55 +0000 (16:12 +0100)
Documentation/changes.tely
Documentation/notation/input.itely

index b3fe430955eb778f9f8f932c832d8945d433ec8a..e57bbe7562eba77fe817a45b9d492552fcc550a8 100644 (file)
@@ -61,6 +61,17 @@ which scares away people.
 
 @end ignore
 
+@item
+Use of @code{\tempo} specifications in @code{\midi} blocks (removed in
+2.9.16 in favor of explicit @code{tempoWholesPerMinute} settings) has
+seen a revival: now any kind of property-setting music is turned into
+context definitions within of output specifications, allowing for
+declarations like
+@example
+\layout @{ \accidentalStyle modern @}
+\midi @{ \tempo 4. = 66 @}
+@end example
+
 @item
 The LilyPond G clef has been redesigned - upper loop is now more balanced,
 bottom crook sticks out less and the "spine" (main vertical line) is more
index 410ac25a9e7566a2bc28ab09ab2cf1a899891995..1b7a04bd03a18ad5cb45cfd1df856fd46a91000b 100644 (file)
@@ -2371,15 +2371,10 @@ indication to be printed:
 @end example
 
 In this example the tempo is set to 72 quarter note
-beats per minute.  This kind of tempo specification cannot take
-a dotted note length as an argument.  If one is required, break
-the dotted note into smaller units.  For example, a tempo of 90
-dotted quarter notes per minute can be specified as 270 eighth
-notes per minute:
-
-@example
-tempoWholesPerMinute = #(ly:make-moment 270 8)
-@end example
+beats per minute.  @code{\tempo} is actually a music command for
+setting properties during the interpretation of music: in the
+context of output definitions like a @code{\midi} block, as a matter of
+courtesy those are reinterpreted as if they were context modifications.
 
 @cindex MIDI context definitions
 
@@ -2626,9 +2621,9 @@ volume is limited to the range 0.2 - 0.5.
   >>
   \layout {}
   \midi {
+    \tempo 2 = 72
     \context {
       \Score
-      tempoWholesPerMinute = #(ly:make-moment 72 2)
       midiMinimumVolume = #0.2
       midiMaximumVolume = #0.5
     }