@ignore
GDP TODO list
-\compressMusic -> \scaleDurations.
-approved by Han-Wen; just needs somebody to kick up a fuss about
-it.
-
1.2.3.1 Time signature
Needs an example of beatLength, which is broken (see my recent
mail
Dots are normally moved up to avoid staff lines, except in
polyphonic situations. Predefined commands are available to
force a particular direction manually, for details
-see @ref{Controlling direction and placement}.
+see @ref{Direction and placement}.
@predefined
The automatic placement of the tuplet bracket above or below the
notes may be overridden manually with predefined commands, for
-details see @ref{Controlling direction and placement}.
+details see @ref{Direction and placement}.
Tuplets may be nested:
@cindex scaling durations
@cindex durations, scaling
-TODO Change \compressMusic to \scaleDurations when implemented.
-
You can alter the duration of single notes, rests or chords by a
fraction @code{N/M} by appending @code{*N/M} (or @code{*N} if
@code{M} is 1) to the duration.
@code{s1*23}.
@cindex compressing music
-@funindex \compressMusic
+@funindex \scaleDurations
Longer stretches of music may be compressed by a fraction in the
same way, as if every note, chord or rest had the fraction as a
% Normal durations
<c a>4 c8 a
% Scale music by *2/3
-\compressMusic #'(2 . 3) {
+\scaleDurations #'(2 . 3) {
<c a f>4. c8 a f
}
% Scale music by *2
-\compressMusic #'(2 . 1) {
+\scaleDurations #'(2 . 1) {
<c' a>4 c8 b
}
@end lilypond
The vertical placement of ties may be controlled, see
Predefined commands, or for details, see
-@ref{Controlling direction and placement}.
+@ref{Direction and placement}.
@cindex ties, appearance
@funindex \tieDotted
@seealso
Music Glossary:
-@rglos{multi-measure rest},
-@rglos{church rests}.
+@rglos{multi-measure rest}.
Notation Reference:
@ref{Durations},
for each staff but replacing the symbol manually by setting
@code{timeSignatureFraction} to the desired fraction and scaling
the printed durations in each staff to the common time
-signature. This done with @code{\compressMusic}, which
+signature. This done with @code{\scaleDurations}, which
is used in a similar way to @code{\times}, but does not create
a tuplet bracket, see @ref{Scaling durations}.
\new Staff {
\time 3/4
\set Staff.timeSignatureFraction = #'(9 . 8)
- \compressMusic #'(2 . 3)
+ \scaleDurations #'(2 . 3)
\repeat unfold 6 { c8[ c c] }
}
\new Staff {
\time 3/4
\set Staff.timeSignatureFraction = #'(10 . 8)
- \compressMusic #'(3 . 5) {
+ \scaleDurations #'(3 . 5) {
\repeat unfold 2 { c8[ c c] }
\repeat unfold 2 { c8[ c] } |
c4. c4. \times 2/3 { c8 c c } c4
in other staves by setting @code{strict-grace-spacing} to
##t:
-@lilypond[relative=2,ragged-right]
+@lilypond[verbatim,quote,relative=2]
<<
\override Score.SpacingSpanner #'strict-grace-spacing = ##t
\new Staff {
- c'4
- \afterGrace
- c'4
- { c'16[ c'8 c'16] }
- c'4
+ c4
+ \afterGrace c4 { c16[ c8 c16] }
+ c4 r
}
\new Staff {
- c'16[ c'16 c'16 c'16]
- c'16[ c'16 c'16 c'16]
- c'4
+ c16 c c c c c c c c4 r
}
>>
@end lilypond