@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.
* Normal repeats::
* Repeat syntax::
* Manual repeat commands::
-* Repeats and MIDI::
@end menu
@node Normal repeats
@seealso
+Snippets: @lsrdir{repeats}
+
Internals Reference: @internalsref{VoltaBracket},
@internalsref{RepeatedMusic},
@internalsref{VoltaRepeatedMusic}, and
@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
@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}.
@seealso
-In this manual: @ref{Tremolo repeats}.
+Notation Reference: @ref{Tremolo repeats}.
+
+Snippets: @lsrdir{repeats}
Elsewhere: @internalsref{StemTremolo}.
@seealso
+Snippets: @lsrdir{repeats}
+
Internals Reference: @internalsref{RepeatSlash},
@internalsref{PercentRepeat}, @internalsref{DoublePercentRepeat},
@internalsref{DoublePercentRepeatCounter},