X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Frepeats.itely;h=31f1e87fcc98d262ac32dd8db06e72a839236213;hb=ef8ddd4b533bddf631a5e207eba4a68e7e251173;hp=4c9ac133f36493361f391365f9498654fe2c44cd;hpb=3ce2f5db132c32fac2566dfb1892fecfd3c2db13;p=lilypond.git diff --git a/Documentation/user/repeats.itely b/Documentation/user/repeats.itely index 4c9ac133f3..31f1e87fcc 100644 --- a/Documentation/user/repeats.itely +++ b/Documentation/user/repeats.itely @@ -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,7 +110,9 @@ see @ref{Bar lines} for more information. @seealso -Program reference: @internalsref{VoltaBracket}, +Snippets: @lsrdir{repeats} + +Internals Reference: @internalsref{VoltaBracket}, @internalsref{RepeatedMusic}, @internalsref{VoltaRepeatedMusic}, and @internalsref{UnfoldedRepeatedMusic}. @@ -239,50 +243,12 @@ c4 c4 @seealso -Program reference: @internalsref{VoltaBracket}, +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,9 +288,11 @@ described in @ref{Tremolo subdivisions}. @seealso -In this manual: @ref{Tremolo subdivisions}, @ref{Repeats}. +Notation Reference: @ref{Tremolo subdivisions}, @ref{Repeats}. + +Snippets: @lsrdir{repeats} -Program reference: @internalsref{Beam}, +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,7 +375,9 @@ R1 @seealso -Program reference: @internalsref{RepeatSlash}, +Snippets: @lsrdir{repeats} + +Internals Reference: @internalsref{RepeatSlash}, @internalsref{PercentRepeat}, @internalsref{DoublePercentRepeat}, @internalsref{DoublePercentRepeatCounter}, @internalsref{PercentRepeatCounter},