]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/repeats.itely
Use the same line thickness as circle markup for box markup.
[lilypond.git] / Documentation / user / repeats.itely
index 8b406e9816a2d2fbfa1d72c74d0a4d06747ab87a..31f1e87fcc98d262ac32dd8db06e72a839236213 100644 (file)
@@ -9,6 +9,9 @@
 @node Repeats
 @section Repeats
 
+@lilypondfile[ragged-right,line-width=16\cm,staffsize=16,quote]
+{repeats-headword.ly}
+
 Repetition is a central concept in music, and multiple notations
 exist for repetitions.
 
@@ -26,7 +29,6 @@ Blah blah
 * Normal repeats::              
 * Repeat syntax::               
 * Manual repeat commands::      
-* Repeats and MIDI::            
 @end menu
 
 @node Normal repeats
@@ -247,46 +249,6 @@ Internals Reference: @internalsref{VoltaBracket},
 @internalsref{RepeatedMusic}, @internalsref{VoltaRepeatedMusic},
 and @internalsref{UnfoldedRepeatedMusic}.
 
-@node Repeats and MIDI
-@unnumberedsubsubsec Repeats and MIDI
-
-@cindex expanding repeats
-@funindex \unfoldRepeats
-
-With a little bit of tweaking, all types of repeats can be present
-in the MIDI output.  This is achieved by applying the
-@code{\unfoldRepeats} music function.  This function changes all
-repeats to unfold repeats.
-
-@lilypond[quote,verbatim,fragment,line-width=8.0\cm]
-\unfoldRepeats {
-  \repeat tremolo 8 {c'32 e' }
-  \repeat percent 2 { c''8 d'' }
-  \repeat volta 2 {c'4 d' e' f'}
-  \alternative {
-    { g' a' a' g' }
-    {f' e' d' c' }
-  }
-}
-\bar "|."
-@end lilypond
-
-When creating a score file using @code{\unfoldRepeats} for MIDI,
-it is necessary to make two @code{\score} blocks: one for MIDI
-(with unfolded repeats) and one for notation (with volta, tremolo,
-and percent repeats).  For example,
-
-@example
-\score @{
-  @var{..music..}
-  \layout @{ .. @}
-@}
-\score @{
-  \unfoldRepeats @var{..music..}
-  \midi @{ .. @}
-@}
-@end example
-
 
 @node Other repeats
 @subsection Other repeats