]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/repeats.itely
Merge branch 'dev/kainhofer' of ssh://kainhofer@git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / Documentation / user / repeats.itely
index a1a66ba805aa0f8ec73a6c74be89437b053d135a..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
@@ -108,6 +110,8 @@ see @ref{Bar lines} for more information.
 
 @seealso
 
+Snippets: @lsrdir{repeats}
+
 Internals Reference: @internalsref{VoltaBracket},
 @internalsref{RepeatedMusic},
 @internalsref{VoltaRepeatedMusic}, and
@@ -239,50 +243,12 @@ c4 c4
 
 @seealso
 
+Snippets: @lsrdir{repeats}
+
 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
@@ -322,7 +288,9 @@ described in @ref{Tremolo subdivisions}.
 
 @seealso
 
-In this manual: @ref{Tremolo subdivisions}, @ref{Repeats}.
+Notation Reference: @ref{Tremolo subdivisions}, @ref{Repeats}.
+
+Snippets: @lsrdir{repeats}
 
 Internals Reference: @internalsref{Beam},
 @internalsref{StemTremolo}.
@@ -354,7 +322,9 @@ output.
 
 @seealso
 
-In this manual: @ref{Tremolo repeats}.
+Notation Reference: @ref{Tremolo repeats}.
+
+Snippets: @lsrdir{repeats}
 
 Elsewhere: @internalsref{StemTremolo}.
 
@@ -405,6 +375,8 @@ R1
 
 @seealso
 
+Snippets: @lsrdir{repeats}
+
 Internals Reference: @internalsref{RepeatSlash},
 @internalsref{PercentRepeat}, @internalsref{DoublePercentRepeat},
 @internalsref{DoublePercentRepeatCounter},