From 1c0e41565f0fd9e6289ed5b179a99b34877946e7 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sun, 18 Nov 2007 11:14:26 -0800 Subject: [PATCH] Move "repeats and midi" into MIDI section. --- Documentation/user/non-music.itely | 52 ++++++++++++++++++++++++++++++ Documentation/user/repeats.itely | 41 ----------------------- 2 files changed, 52 insertions(+), 41 deletions(-) diff --git a/Documentation/user/non-music.itely b/Documentation/user/non-music.itely index 3f3b00c22f..c908b20346 100644 --- a/Documentation/user/non-music.itely +++ b/Documentation/user/non-music.itely @@ -482,6 +482,7 @@ output. Players that are known to work include * Creating MIDI files:: * MIDI block:: * MIDI instrument names:: +* What goes into the MIDI? FIXME:: @end menu @node Creating MIDI files @@ -633,4 +634,55 @@ the list of MIDI instruments, the Grand Piano (@code{"acoustic grand"}) instrument is used. +@node What goes into the MIDI? FIXME +@subsection What goes into the MIDI? FIXME + +@menu +* Repeats and MIDI:: +@end menu + +@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 + + + + + diff --git a/Documentation/user/repeats.itely b/Documentation/user/repeats.itely index 8b406e9816..14f72365d1 100644 --- a/Documentation/user/repeats.itely +++ b/Documentation/user/repeats.itely @@ -26,7 +26,6 @@ Blah blah * Normal repeats:: * Repeat syntax:: * Manual repeat commands:: -* Repeats and MIDI:: @end menu @node Normal repeats @@ -247,46 +246,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 -- 2.39.5