Simulates unrunning it first in order to get two convert-ly rule
changes obeyed.
83 files changed:
@item Moment
@tab Ein Bruch einer ganzen Note, mit der make-moment-Funktion
konstruiert
@item Moment
@tab Ein Bruch einer ganzen Note, mit der make-moment-Funktion
konstruiert
- @tab @code{(ly:make-moment 1 4)},
- @code{(ly:make-moment 3 8)}
+ @tab @code{(ly:make-moment 1/4)},
+ @code{(ly:make-moment 3/8)}
@item Zahl
@tab Eine beliebige positive oder negative Dezimalzahl
@tab @code{3.5}, @code{-2.45}
@item Zahl
@tab Eine beliebige positive oder negative Dezimalzahl
@tab @code{3.5}, @code{-2.45}
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@node Scheme-Übung
@chapter Scheme-Übung
@node Scheme-Übung
@chapter Scheme-Übung
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music 'AbsoluteDynamicEvent
'text
"f"))
(make-music 'AbsoluteDynamicEvent
'text
"f"))
- 'duration (ly:make-duration 2 0 1 1)
+ 'duration (ly:make-duration 2 0 1/1)
'pitch (ly:make-pitch 0 0 0))))
@end example
'pitch (ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
(list (make-music
'NoteEvent
'duration
(list (make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
'span-direction
-1))
'duration
'span-direction
-1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))
(make-music
'pitch
(ly:make-pitch 0 5 0))
(make-music
'span-direction
1))
'duration
'span-direction
1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))))
=====
'pitch
(ly:make-pitch -1 0 0))))
=====
'articulation-type
"accent"))
'duration
'articulation-type
"accent"))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))
\displayMusic c4
'pitch
(ly:make-pitch -1 0 0))
\displayMusic c4
(list (make-music
'NoteEvent
'duration
(list (make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))))
@end example
'pitch
(ly:make-pitch -1 0 0))))
@end example
@item Moment
@tab Ein Bruch einer ganzen Note, mit der make-moment-Funktion
konstruiert
@item Moment
@tab Ein Bruch einer ganzen Note, mit der make-moment-Funktion
konstruiert
- @tab @code{(ly:make-moment 1 4)},
- @code{(ly:make-moment 3 8)}
+ @tab @code{(ly:make-moment 1/4)},
+ @code{(ly:make-moment 3/8)}
@item Zahl
@tab Eine beliebige positive oder negative Dezimalzahl
@tab @code{3.5}, @w{@code{-2.45}}
@item Zahl
@tab Eine beliebige positive oder negative Dezimalzahl
@tab @code{3.5}, @w{@code{-2.45}}
-breveTP = #(ly:make-duration -1 0 3 2)
+breveTP = #(ly:make-duration -1 0 3/2)
@dots{}
@{ c\breveTP f1 @}
@end example
@dots{}
@{ c\breveTP f1 @}
@end example
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@c Translators: Till Paala
@c Translators: Till Paala
\context {
\Staff
\consists "Grid_point_engraver"
\context {
\Staff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 1 4)
+ gridInterval = #(ly:make-moment 1/4)
- \set Timing.measureLength = #(ly:make-moment 3 4)
+ \set Timing.measureLength = #(ly:make-moment 3/4)
g4 g g % optional bar check is allowed here
}
{
g4 g g % optional bar check is allowed here
}
{
- \set Timing.measureLength = #(ly:make-moment 4 4)
+ \set Timing.measureLength = #(ly:make-moment 4/4)
@lilypond[quote,verbatim,relative=1]
\time 3/4
@lilypond[quote,verbatim,relative=1]
\time 3/4
-\set Timing.measurePosition = #(ly:make-moment -1 8)
+\set Timing.measurePosition = #(ly:make-moment -1/8)
e8 | a4 c8 b c4 |
@end lilypond
e8 | a4 c8 b c4 |
@end lilypond
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
-\set Timing.measurePosition = #(ly:make-moment -1 4)
+\set Timing.measurePosition = #(ly:make-moment -1/4)
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
\time 4/4
a8^"default" a a a a a a a
\time 4/4
a8^"default" a a a a a a a
-\set Timing.baseMoment = #(ly:make-moment 1 4)
+\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
a8^"no change" a a a a a a a
\set Timing.beamExceptions = #'()
\set Timing.beatStructure = #'(1 1 1 1)
a8^"no change" a a a a a a a
\set Timing.beamExceptions = #'()
-\set Timing.baseMoment = #(ly:make-moment 1 4)
+\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 5/8
@lilypond[quote,verbatim,relative=2]
\time 5/8
-\set Timing.baseMoment = #(ly:make-moment 1 16)
+\set Timing.baseMoment = #(ly:make-moment 1/16)
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 4/4
@lilypond[quote,verbatim,relative=2]
\time 4/4
-\set Timing.baseMoment = #(ly:make-moment 1 8)
+\set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
<<
\new Staff {
\time 3/4
<<
\new Staff {
\time 3/4
- \set Timing.baseMoment = #(ly:make-moment 1 8)
+ \set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
-\featherDurations #(ly:make-moment 2 1)
+\featherDurations #(ly:make-moment 2/1)
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
-\featherDurations #(ly:make-moment 2 3)
+\featherDurations #(ly:make-moment 2/3)
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
wird dann auch bei 9/8 gezogen und nicht bei 5/4.
@lilypond[quote,verbatim,relative=1]
wird dann auch bei 9/8 gezogen und nicht bei 5/4.
@lilypond[quote,verbatim,relative=1]
-\set Score.measureLength = #(ly:make-moment 5 4)
+\set Score.measureLength = #(ly:make-moment 5/4)
-\set Score.measurePosition = #(ly:make-moment 5 8)
+\set Score.measurePosition = #(ly:make-moment 5/8)
b4 b4 b8
c4 c1
@end lilypond
b4 b4 b8
c4 c1
@end lilypond
Der @code{Page_turn_engraver} liest die Kontexteigenschaft
@code{minimumPageTurnLength} um zu erkennen, wie lang eine Stelle
frei von Noten sein muss, damit ein Seitenumbruch in Frage kommt. Der
Der @code{Page_turn_engraver} liest die Kontexteigenschaft
@code{minimumPageTurnLength} um zu erkennen, wie lang eine Stelle
frei von Noten sein muss, damit ein Seitenumbruch in Frage kommt. Der
-Standardwert hierfür ist @code{(ly:make-moment 1 1)}. Wenn Sie
+Standardwert hierfür ist @code{(ly:make-moment 1/1)}. Wenn Sie
Seitenumbrüche zum Umblättern ausschalten wollen, können Sie
einen sehr großen Wert angeben.
Seitenumbrüche zum Umblättern ausschalten wollen, können Sie
einen sehr großen Wert angeben.
a4 b c d |
R1 | % Ein Seitenumbruch zum Umblättern erlaubt
a4 b c d |
a4 b c d |
R1 | % Ein Seitenumbruch zum Umblättern erlaubt
a4 b c d |
- \set Staff.minimumPageTurnLength = #(ly:make-moment 5 2)
+ \set Staff.minimumPageTurnLength = #(ly:make-moment 5/2)
R1 | % Seitenumbruch nicht erlaubt
a4 b r2 |
R1*2 | % Seitenumbruch erlaubt
R1 | % Seitenumbruch nicht erlaubt
a4 b r2 |
R1*2 | % Seitenumbruch erlaubt
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
welches die Referenzdauer ist, anhand welcher alle Noten platziert werden.
Hier wird die LilyPond Scheme-Funktion @code{make-moment} eingesetzt. Sie
braucht zwei Argumente: einen Zähler und einen Nenner, die einen Bruch einer
welches die Referenzdauer ist, anhand welcher alle Noten platziert werden.
Hier wird die LilyPond Scheme-Funktion @code{make-moment} eingesetzt. Sie
braucht zwei Argumente: einen Zähler und einen Nenner, die einen Bruch einer
-Ganzen darstellen. Die Funktion @code{(ly:make-moment 1 20)} ergibt also
+Ganzen darstellen. Die Funktion @code{(ly:make-moment 1/20)} ergibt also
eine Referenzdauer von einer Zwanzigstel. Genauso gut können etwa die Dauern
eine Referenzdauer von einer Zwanzigstel. Genauso gut können etwa die Dauern
-@code{(ly:make-moment 1 16)}, @code{(ly:make-moment 1 8)} oder
-@code{(ly:make-moment 3 97)} eingesetzt werden.
+@code{(ly:make-moment 1/16)}, @code{(ly:make-moment 1/8)} oder
+@code{(ly:make-moment 3/97)} eingesetzt werden.
Die richtige Referenzdauer, mit der eine vernünftige Verteilung der Noten
proportional möglich ist, muss durch Ausprobieren herausgefunden werden.
Die richtige Referenzdauer, mit der eine vernünftige Verteilung der Noten
proportional möglich ist, muss durch Ausprobieren herausgefunden werden.
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 8)
+ proportionalNotationDuration = #(ly:make-moment 1/8)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 16)
+ proportionalNotationDuration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 32)
+ proportionalNotationDuration = #(ly:make-moment 1/32)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\override SpacingSpanner.uniform-stretching = ##t
}
}
\override SpacingSpanner.uniform-stretching = ##t
}
}
@lilypond[quote,verbatim,ragged-right]
\new Staff {
@lilypond[quote,verbatim,ragged-right]
\new Staff {
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/2)
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/2)
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@node Tutorial de Scheme
@appendix Tutorial de Scheme
@node Tutorial de Scheme
@appendix Tutorial de Scheme
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music 'AbsoluteDynamicEvent
'text
"f"))
(make-music 'AbsoluteDynamicEvent
'text
"f"))
- 'duration (ly:make-duration 2 0 1 1)
+ 'duration (ly:make-duration 2 0 1/1)
'pitch (ly:make-pitch 0 0 0))))
@end example
'pitch (ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
(list (make-music
'NoteEvent
'duration
(list (make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
'span-direction
-1))
'duration
'span-direction
-1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))
(make-music
'pitch
(ly:make-pitch 0 5 0))
(make-music
'span-direction
1))
'duration
'span-direction
1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))))
=====
'pitch
(ly:make-pitch -1 0 0))))
=====
'articulation-type
"accent"))
'duration
'articulation-type
"accent"))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))
@end example
'pitch
(ly:make-pitch -1 0 0))
@end example
establecimiento de
@example
establecimiento de
@example
-breveTP = #(ly:make-duration -1 0 3 2)
+breveTP = #(ly:make-duration -1 0 3/2)
@dots{}
@{ c\breveTP f1 @}
@end example
@dots{}
@{ c\breveTP f1 @}
@end example
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@node Anotaciones editoriales
@section Anotaciones editoriales
@node Anotaciones editoriales
@section Anotaciones editoriales
\context {
\Staff
\consists "Grid_point_engraver"
\context {
\Staff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 1 4)
+ gridInterval = #(ly:make-moment 1/4)
- \set Timing.measureLength = #(ly:make-moment 3 4)
+ \set Timing.measureLength = #(ly:make-moment 3/4)
g4 g g % optional bar check is allowed here
}
{
g4 g g % optional bar check is allowed here
}
{
- \set Timing.measureLength = #(ly:make-moment 4 4)
+ \set Timing.measureLength = #(ly:make-moment 4/4)
@lilypond[quote,verbatim,relative=1]
\time 3/4
@lilypond[quote,verbatim,relative=1]
\time 3/4
-\set Timing.measurePosition = #(ly:make-moment -1 8)
+\set Timing.measurePosition = #(ly:make-moment -1/8)
e8 | a4 c8 b c4 |
@end lilypond
e8 | a4 c8 b c4 |
@end lilypond
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
-\set Timing.measurePosition = #(ly:make-moment -1 4)
+\set Timing.measurePosition = #(ly:make-moment -1/4)
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
\time 4/4
a8^"default" a a a a a a a
\time 4/4
a8^"default" a a a a a a a
-\set Timing.baseMoment = #(ly:make-moment 1 4)
+\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
a8^"no change" a a a a a a a
\set Timing.beamExceptions = #'()
\set Timing.beatStructure = #'(1 1 1 1)
a8^"no change" a a a a a a a
\set Timing.beamExceptions = #'()
-\set Timing.baseMoment = #(ly:make-moment 1 4)
+\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 5/8
@lilypond[quote,verbatim,relative=2]
\time 5/8
-\set Timing.baseMoment = #(ly:make-moment 1 16)
+\set Timing.baseMoment = #(ly:make-moment 1/16)
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 4/4
@lilypond[quote,verbatim,relative=2]
\time 4/4
-\set Timing.baseMoment = #(ly:make-moment 1 8)
+\set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
<<
\new Staff {
\time 3/4
<<
\new Staff {
\time 3/4
- \set Timing.baseMoment = #(ly:make-moment 1 8)
+ \set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
-\featherDurations #(ly:make-moment 2 1)
+\featherDurations #(ly:make-moment 2/1)
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
-\featherDurations #(ly:make-moment 2 3)
+\featherDurations #(ly:make-moment 2/3)
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
@lilypond[quote,verbatim]
\new Voice \relative c' {
@lilypond[quote,verbatim]
\new Voice \relative c' {
- \set Timing.measureLength = #(ly:make-moment 5 4)
+ \set Timing.measureLength = #(ly:make-moment 5/4)
- \set Timing.measurePosition = #(ly:make-moment 5 8)
+ \set Timing.measurePosition = #(ly:make-moment 5/8)
@code{minimumPageTurnLength} para determinar qué longitud debe tener
una sección sin notas antes de que se considere la posibilidad de un
paso de página. El valor predeterminado para
@code{minimumPageTurnLength} para determinar qué longitud debe tener
una sección sin notas antes de que se considere la posibilidad de un
paso de página. El valor predeterminado para
-@code{minimumPageTurnLength} es @code{(ly:make-moment 1 1)}. Si
+@code{minimumPageTurnLength} es @code{(ly:make-moment 1/1)}. Si
quiere inhabilitar las vueltas de página, puede establecerlo a algún
valor muy grande.
quiere inhabilitar las vueltas de página, puede establecerlo a algún
valor muy grande.
a4 b c d |
R1 | % aquí se permite un salto de página
a4 b c d |
a4 b c d |
R1 | % aquí se permite un salto de página
a4 b c d |
- \set Staff.minimumPageTurnLength = #(ly:make-moment 5 2)
+ \set Staff.minimumPageTurnLength = #(ly:make-moment 5/2)
R1 | % aquí no se permite un salto de página
a4 b r2 |
R1*2 | % aquí se permite un salto de página
R1 | % aquí no se permite un salto de página
a4 b r2 |
R1*2 | % aquí se permite un salto de página
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
espaciado de toda la música. La función Scheme de LilyPond
@code{make-moment} acepta dos argumentos: un numerador y un
denominador que, juntos, expresan una cierta fracción de redonda. La
espaciado de toda la música. La función Scheme de LilyPond
@code{make-moment} acepta dos argumentos: un numerador y un
denominador que, juntos, expresan una cierta fracción de redonda. La
-llamada @code{(ly:make-moment 1 20)}, por tanto, produce una duración
+llamada @code{(ly:make-moment 1/20)}, por tanto, produce una duración
de referencia de una nota de un veinteavo de redonda (semicorcheas de
cinquillo). Son también posibles valores como
de referencia de una nota de un veinteavo de redonda (semicorcheas de
cinquillo). Son también posibles valores como
-@code{(ly:make-moment 1 16)},
-@code{(ly:make-moment 1 8)} y @code{(ly:make-moment 3 97)}.
+@code{(ly:make-moment 1/16)},
+@code{(ly:make-moment 1/8)} y @code{(ly:make-moment 3/97)}.
¿Cómo seleccionamos la duración correcta de referencia para pasarla a
@code{proportionalNotationDuration}? Normalmente mediante un proceso
¿Cómo seleccionamos la duración correcta de referencia para pasarla a
@code{proportionalNotationDuration}? Normalmente mediante un proceso
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 8)
+ proportionalNotationDuration = #(ly:make-moment 1/8)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 16)
+ proportionalNotationDuration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 32)
+ proportionalNotationDuration = #(ly:make-moment 1/32)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\override SpacingSpanner.uniform-stretching = ##t
}
}
\override SpacingSpanner.uniform-stretching = ##t
}
}
@lilypond[quote,verbatim,ragged-right]
\new Staff {
@lilypond[quote,verbatim,ragged-right]
\new Staff {
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/2)
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/2)
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@node Scheme tutorial
@chapter Scheme tutorial
@node Scheme tutorial
@chapter Scheme tutorial
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music 'AbsoluteDynamicEvent
'text
"f"))
(make-music 'AbsoluteDynamicEvent
'text
"f"))
- 'duration (ly:make-duration 2 0 1 1)
+ 'duration (ly:make-duration 2 0 1/1)
'pitch (ly:make-pitch 0 0 0))))
@end example
'pitch (ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
(list (make-music
'NoteEvent
'duration
(list (make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
'span-direction
-1))
'duration
'span-direction
-1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))
(make-music
'pitch
(ly:make-pitch 0 5 0))
(make-music
'span-direction
1))
'duration
'span-direction
1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))))
=====
'pitch
(ly:make-pitch -1 0 0))))
=====
'articulation-type
"accent"))
'duration
'articulation-type
"accent"))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))
@end example
'pitch
(ly:make-pitch -1 0 0))
@end example
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@c Translators: Jean-Charles Malahieude
@c Translators: Jean-Charles Malahieude
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music 'AbsoluteDynamicEvent
'text
"f"))
(make-music 'AbsoluteDynamicEvent
'text
"f"))
- 'duration (ly:make-duration 2 0 1 1)
+ 'duration (ly:make-duration 2 0 1/1)
'pitch (ly:make-pitch 0 0 0))))
@end example
'pitch (ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
(list (make-music
'NoteEvent
'duration
(list (make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))))
@end example
'pitch
(ly:make-pitch 0 0 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
@end example
'pitch
(ly:make-pitch 0 0 0))
@end example
'span-direction
-1))
'duration
'span-direction
-1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))
(make-music
'pitch
(ly:make-pitch 0 5 0))
(make-music
'span-direction
1))
'duration
'span-direction
1))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 5 0))))
@end example
'pitch
(ly:make-pitch 0 5 0))))
@end example
(make-music
'NoteEvent
'duration
(make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))))
=====
'pitch
(ly:make-pitch -1 0 0))))
=====
'articulation-type
"accent"))
'duration
'articulation-type
"accent"))
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch -1 0 0))
@end example
'pitch
(ly:make-pitch -1 0 0))
@end example
-breveTP = #(ly:make-duration -1 0 3 2)
+breveTP = #(ly:make-duration -1 0 3/2)
@dots{}
@{ c\breveTP f1 @}
@end example
@dots{}
@{ c\breveTP f1 @}
@end example
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@c Translators: Jean-Charles Malahieude
@c Translators: Jean-Charles Malahieude
\context {
\Staff
\consists "Grid_point_engraver" %% active les guides
\context {
\Staff
\consists "Grid_point_engraver" %% active les guides
- gridInterval = #(ly:make-moment 1 4)
+ gridInterval = #(ly:make-moment 1/4)
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@c Translators: Jean-Charles Malahieude, Valentin Villenave
@c Translators: Jean-Charles Malahieude, Valentin Villenave
270 croches à la minute :
@example
270 croches à la minute :
@example
-tempoWholesPerMinute = #(ly:make-moment 270 8)
+tempoWholesPerMinute = #(ly:make-moment 270/8)
@end example
@cindex MIDI et définition de contexte
@end example
@cindex MIDI et définition de contexte
- \set Timing.measureLength = #(ly:make-moment 3 4)
+ \set Timing.measureLength = #(ly:make-moment 3/4)
g4 g g % optional bar check is allowed here
}
{
g4 g g % optional bar check is allowed here
}
{
- \set Timing.measureLength = #(ly:make-moment 4 4)
+ \set Timing.measureLength = #(ly:make-moment 4/4)
@lilypond[quote,verbatim,relative=1]
\time 3/4
@lilypond[quote,verbatim,relative=1]
\time 3/4
-\set Timing.measurePosition = #(ly:make-moment -1 8)
+\set Timing.measurePosition = #(ly:make-moment -1/8)
e8 | a4 c8 b c4 |
@end lilypond
e8 | a4 c8 b c4 |
@end lilypond
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
-\set Timing.measurePosition = #(ly:make-moment -1 4)
+\set Timing.measurePosition = #(ly:make-moment -1/4)
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
\time 4/4
a8^"default" a a a a a a a
\time 4/4
a8^"default" a a a a a a a
-\set Timing.baseMoment = #(ly:make-moment 1 4)
+\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
a8^"no change" a a a a a a a
\set Timing.beamExceptions = #'()
\set Timing.beatStructure = #'(1 1 1 1)
a8^"no change" a a a a a a a
\set Timing.beamExceptions = #'()
-\set Timing.baseMoment = #(ly:make-moment 1 4)
+\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 5/8
@lilypond[quote,verbatim,relative=2]
\time 5/8
-\set Timing.baseMoment = #(ly:make-moment 1 16)
+\set Timing.baseMoment = #(ly:make-moment 1/16)
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 4/4
@lilypond[quote,verbatim,relative=2]
\time 4/4
-\set Timing.baseMoment = #(ly:make-moment 1 8)
+\set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
<<
\new Staff {
\time 3/4
<<
\new Staff {
\time 3/4
- \set Timing.baseMoment = #(ly:make-moment 1 8)
+ \set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(1 5)
\set Timing.beamExceptions = #'()
\repeat unfold 6 { a8 }
\set Timing.beatStructure = #'(1 5)
\set Timing.beamExceptions = #'()
\repeat unfold 6 { a8 }
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
-\featherDurations #(ly:make-moment 2 1)
+\featherDurations #(ly:make-moment 2/1)
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
-\featherDurations #(ly:make-moment 2 3)
+\featherDurations #(ly:make-moment 2/3)
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
@lilypond[quote,verbatim]
\new Voice \relative c' {
@lilypond[quote,verbatim]
\new Voice \relative c' {
- \set Timing.measureLength = #(ly:make-moment 5 4)
+ \set Timing.measureLength = #(ly:make-moment 5/4)
- \set Timing.measurePosition = #(ly:make-moment 5 8)
+ \set Timing.measurePosition = #(ly:make-moment 5/8)
a4 b c d |
R1 | % une tourne peut se placer ici
a4 b c d |
a4 b c d |
R1 | % une tourne peut se placer ici
a4 b c d |
- \set Staff.minimumPageTurnLength = #(ly:make-moment 5 2)
+ \set Staff.minimumPageTurnLength = #(ly:make-moment 5/2)
R1 | % il ne peut pas y avoir de tourne ici
a4 b r2 |
R1*2 | % une tourne peut se placer ici
R1 | % il ne peut pas y avoir de tourne ici
a4 b r2 |
R1*2 | % une tourne peut se placer ici
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
représentent une fraction de ronde. L'appel de
@w{@code{(ly:make-moment 1 20)}} produit donc une durée de référence
égale à un vingtième de ronde. Vous pourriez tout aussi bien utiliser
représentent une fraction de ronde. L'appel de
@w{@code{(ly:make-moment 1 20)}} produit donc une durée de référence
égale à un vingtième de ronde. Vous pourriez tout aussi bien utiliser
-@code{(ly:make-moment 1 16)}, @code{(ly:make-moment 1 8)} ou
-@code{(ly:make-moment 3 97)}.
+@code{(ly:make-moment 1/16)}, @code{(ly:make-moment 1/8)} ou
+@code{(ly:make-moment 3/97)}.
Se pose alors le problème de fournir la juste durée de référence à
@code{proportionalNotationDuration}. Il faut en l'occurrence procéder par
Se pose alors le problème de fournir la juste durée de référence à
@code{proportionalNotationDuration}. Il faut en l'occurrence procéder par
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 8)
+ proportionalNotationDuration = #(ly:make-moment 1/8)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 16)
+ proportionalNotationDuration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 32)
+ proportionalNotationDuration = #(ly:make-moment 1/32)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\override SpacingSpanner.uniform-stretching = ##t
}
}
\override SpacingSpanner.uniform-stretching = ##t
}
}
@lilypond[quote,verbatim,ragged-right]
\new Staff {
@lilypond[quote,verbatim,ragged-right]
\new Staff {
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/2)
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/2)
#(define (filter-instrument instrument-name tuning-alist)
(filter (lambda (entry)
#(define (filter-instrument instrument-name tuning-alist)
(filter (lambda (entry)
'text (symbol->string tuning-symbol))
(map (lambda (pitch)
(make-music 'NoteEvent
'text (symbol->string tuning-symbol))
(map (lambda (pitch)
(make-music 'NoteEvent
- 'duration (ly:make-duration 0 0 1 1)
+ 'duration (ly:make-duration 0 0 1/1)
'pitch pitch))
pitches)))))
'pitch pitch))
pitches)))))
\header {
texidoc ="@cindex Feta scripts
\header {
texidoc ="@cindex Feta scripts
(list (make-music
'NoteEvent
'duration
(list (make-music
'NoteEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
'pitch
(ly:make-pitch 0 0 0))
(make-music
'pitch
(ly:make-pitch 0 0 0))
(make-music
(list (make-music
'LyricEvent
'duration
(list (make-music
'LyricEvent
'duration
- (ly:make-duration 2 0 1 1)
+ (ly:make-duration 2 0 1/1)
@item Moment
@tab Una frazione di una nota intera costruita con la
funzione make-moment
@item Moment
@tab Una frazione di una nota intera costruita con la
funzione make-moment
- @tab @code{(ly:make-moment 1 4)},
- @code{(ly:make-moment 3 8)}
+ @tab @code{(ly:make-moment 1/4)},
+ @code{(ly:make-moment 3/8)}
@item Number
@tab Qualsiasi valore decimale positivo o negativo
@tab @code{3.5}, @w{@code{-2.45}}
@item Number
@tab Qualsiasi valore decimale positivo o negativo
@tab @code{3.5}, @w{@code{-2.45}}
@tab @code{\markup @{ \italic "cresc." @}}
@item Moment
@tab make-moment 関数で構築される全音符の分数
@tab @code{\markup @{ \italic "cresc." @}}
@item Moment
@tab make-moment 関数で構築される全音符の分数
- @tab @code{(ly:make-moment 1 4)},
- @code{(ly:make-moment 3 8)}
+ @tab @code{(ly:make-moment 1/4)},
+ @code{(ly:make-moment 3/8)}
@item Number
@tab 正または負の小数
@tab @code{3.5}, @w{@code{-2.45}}
@item Number
@tab 正または負の小数
@tab @code{3.5}, @w{@code{-2.45}}
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@c Translators: Yoshiki Sawada
@c Translators: Yoshiki Sawada
\context {
\Staff
\consists "Grid_point_engraver"
\context {
\Staff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 1 4)
+ gridInterval = #(ly:make-moment 1/4)
- \set Timing.measureLength = #(ly:make-moment 3 4)
+ \set Timing.measureLength = #(ly:make-moment 3/4)
g4 g g % optional bar check is allowed here
}
{
g4 g g % optional bar check is allowed here
}
{
- \set Timing.measureLength = #(ly:make-moment 4 4)
+ \set Timing.measureLength = #(ly:make-moment 4/4)
@lilypond[quote,verbatim,relative=1]
\time 3/4
@lilypond[quote,verbatim,relative=1]
\time 3/4
-\set Timing.measurePosition = #(ly:make-moment -1 8)
+\set Timing.measurePosition = #(ly:make-moment -1/8)
e8 | a4 c8 b c4 |
@end lilypond
e8 | a4 c8 b c4 |
@end lilypond
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
-\set Timing.measurePosition = #(ly:make-moment -1 4)
+\set Timing.measurePosition = #(ly:make-moment -1/4)
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 5/8
@lilypond[quote,verbatim,relative=2]
\time 5/8
-\set Timing.baseMoment = #(ly:make-moment 1 16)
+\set Timing.baseMoment = #(ly:make-moment 1/16)
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
@c KEEP LY
@lilypond[quote,verbatim,relative=2]
\time 4/4
@c KEEP LY
@lilypond[quote,verbatim,relative=2]
\time 4/4
-\set Timing.baseMoment = #(ly:make-moment 1 8)
+\set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(3 3 2)
% 以下は beamExceptions のため、(3 3 2) の連桁にはなりません
\repeat unfold 8 {c8} |
\set Timing.beatStructure = #'(3 3 2)
% 以下は beamExceptions のため、(3 3 2) の連桁にはなりません
\repeat unfold 8 {c8} |
<<
\new Staff {
\time 3/4
<<
\new Staff {
\time 3/4
- \set Timing.baseMoment = #(ly:make-moment 1 8)
+ \set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
-\featherDurations #(ly:make-moment 2 1)
+\featherDurations #(ly:make-moment 2/1)
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
-\featherDurations #(ly:make-moment 2 3)
+\featherDurations #(ly:make-moment 2/3)
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
@lilypond[quote,verbatim]
\new Voice \relative c' {
@lilypond[quote,verbatim]
\new Voice \relative c' {
- \set Timing.measureLength = #(ly:make-moment 5 4)
+ \set Timing.measureLength = #(ly:make-moment 5/4)
- \set Timing.measurePosition = #(ly:make-moment 5 8)
+ \set Timing.measurePosition = #(ly:make-moment 5/8)
コンテキスト プロパティ @code{minimumPageTurnLength} を読み込んで、@c
どれくらい音符が無いセクションが続いたらページめくりを考慮するかを決定します。@c
@code{minimumPageTurnLength} のデフォルト値は
コンテキスト プロパティ @code{minimumPageTurnLength} を読み込んで、@c
どれくらい音符が無いセクションが続いたらページめくりを考慮するかを決定します。@c
@code{minimumPageTurnLength} のデフォルト値は
-@code{(ly:make-moment 1 1)} です。@c
+@code{(ly:make-moment 1/1)} です。@c
ページめくりを不可にしたいのならば、@c
@code{minimumPageTurnLength} に非常に大きな値をセットします。
ページめくりを不可にしたいのならば、@c
@code{minimumPageTurnLength} に非常に大きな値をセットします。
a4 b c d |
R1 | % ここでページめくりが許可されます
a4 b c d |
a4 b c d |
R1 | % ここでページめくりが許可されます
a4 b c d |
- \set Staff.minimumPageTurnLength = #(ly:make-moment 5 2)
+ \set Staff.minimumPageTurnLength = #(ly:make-moment 5/2)
R1 | % ここではページめくりは許可されません
a4 b r2 |
R1*2 | % ここでページめくりが許可されます
R1 | % ここではページめくりは許可されません
a4 b r2 |
R1*2 | % ここでページめくりが許可されます
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
これはすべての音楽要素へのスペースに関係する参照演奏時間です。@c
LilyPond Scheme 関数 @code{make-moment} は 2 つの引数をとります
-- 全音符の分数を表す分子と分母です。@c
これはすべての音楽要素へのスペースに関係する参照演奏時間です。@c
LilyPond Scheme 関数 @code{make-moment} は 2 つの引数をとります
-- 全音符の分数を表す分子と分母です。@c
-それゆえ、@code{(ly:make-moment 1 20)} という呼び出しは、@c
+それゆえ、@code{(ly:make-moment 1/20)} という呼び出しは、@c
-@code{(ly:make-moment 1 16)}, @code{(ly:make-moment 1 8)}, それに
-@code{(ly:make-moment 3 97)} という値はすべてとり得る値です。
+@code{(ly:make-moment 1/16)}, @code{(ly:make-moment 1/8)}, それに
+@code{(ly:make-moment 3/97)} という値はすべてとり得る値です。
では、どのように @code{proportionalNotationDuration} に渡す@c
適切な参照演奏時間を決めるのでしょうか?@c
では、どのように @code{proportionalNotationDuration} に渡す@c
適切な参照演奏時間を決めるのでしょうか?@c
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 8)
+ proportionalNotationDuration = #(ly:make-moment 1/8)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 16)
+ proportionalNotationDuration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 32)
+ proportionalNotationDuration = #(ly:make-moment 1/32)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\override SpacingSpanner.uniform-stretching = ##t
}
}
\override SpacingSpanner.uniform-stretching = ##t
}
}
@lilypond[quote,verbatim,ragged-right]
\new Staff {
@lilypond[quote,verbatim,ragged-right]
\new Staff {
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/2)
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/2)
- proportionalNotationDuration = #(ly:make-moment 1 64)
+ proportionalNotationDuration = #(ly:make-moment 1/64)
\override Beam.breakable = ##t
autoBeaming = ##f
tupletFullLength = ##t
\override Beam.breakable = ##t
autoBeaming = ##f
tupletFullLength = ##t
\voiceOne
<f aes d f>8\([ \tuplet 5/4{<g g'>32( aes' g f g]) }
\set subdivideBeams = ##t
\voiceOne
<f aes d f>8\([ \tuplet 5/4{<g g'>32( aes' g f g]) }
\set subdivideBeams = ##t
- \set baseMoment = #(ly:make-moment 1 8)
+ \set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2)
<aes, aes'>16 <c f> \tuplet 5/4{ bes'32( c bes aes bes]) }
\set subdivideBeams = ##f
\set beatStructure = #'(2 2 2)
<aes, aes'>16 <c f> \tuplet 5/4{ bes'32( c bes aes bes]) }
\set subdivideBeams = ##f
bes8 \csm \stemDown <bes'' c es>8 s2
\csl \stemUp
\set subdivideBeams = ##t
bes8 \csm \stemDown <bes'' c es>8 s2
\csl \stemUp
\set subdivideBeams = ##t
- \set baseMoment = #(ly:make-moment 1 16)
+ \set baseMoment = #(ly:make-moment 1/16)
\set beatStructure = #'(4 4 4)
s8 \hideNotes \slurUp \stemDown
es,,64( bes'' s64 \unHideNotes \stemUp g64[ bes c d c]) s2
\set beatStructure = #'(4 4 4)
s8 \hideNotes \slurUp \stemDown
es,,64( bes'' s64 \unHideNotes \stemUp g64[ bes c d c]) s2
(@emph{tempus perfectum}) can be made by hand, by setting
@example
(@emph{tempus perfectum}) can be made by hand, by setting
@example
-breveTP = #(ly:make-duration -1 0 3 2)
+breveTP = #(ly:make-duration -1 0 3/2)
@dots{}
@{ c\breveTP f1 @}
@end example
@dots{}
@{ c\breveTP f1 @}
@end example
Guide, node Updating translation committishes..
@end ignore
Guide, node Updating translation committishes..
@end ignore
@node Editorial annotations
@section Editorial annotations
@node Editorial annotations
@section Editorial annotations
\context {
\Staff
\consists "Grid_point_engraver"
\context {
\Staff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 1 4)
+ gridInterval = #(ly:make-moment 1/4)
- \set Timing.measureLength = #(ly:make-moment 3 4)
+ \set Timing.measureLength = #(ly:make-moment 3/4)
g4 g g % optional bar check is allowed here
}
{
g4 g g % optional bar check is allowed here
}
{
- \set Timing.measureLength = #(ly:make-moment 4 4)
+ \set Timing.measureLength = #(ly:make-moment 4/4)
@lilypond[quote,verbatim,relative=1]
\time 3/4
@lilypond[quote,verbatim,relative=1]
\time 3/4
-\set Timing.measurePosition = #(ly:make-moment -1 8)
+\set Timing.measurePosition = #(ly:make-moment -1/8)
e8 | a4 c8 b c4 |
@end lilypond
e8 | a4 c8 b c4 |
@end lilypond
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
\time 6/8
\partial 8
e8 | a4 c8 b[ c b] |
-\set Timing.measurePosition = #(ly:make-moment -1 4)
+\set Timing.measurePosition = #(ly:make-moment -1/4)
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
r8 e,8 | a4 c8 b[ c b] |
@end lilypond
% Disable beamExceptions because they are definitely
% defined for 4/4 time
\set Timing.beamExceptions = #'()
% Disable beamExceptions because they are definitely
% defined for 4/4 time
\set Timing.beamExceptions = #'()
-\set Timing.baseMoment = #(ly:make-moment 1 4)
+\set Timing.baseMoment = #(ly:make-moment 1/4)
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
\set Timing.beatStructure = #'(1 1 1 1)
a8^"changed" a a a a a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 5/8
% No need to disable beamExceptions as they are not defined for 5/8 time
@lilypond[quote,verbatim,relative=2]
\time 5/8
% No need to disable beamExceptions as they are not defined for 5/8 time
-\set Timing.baseMoment = #(ly:make-moment 1 16)
+\set Timing.baseMoment = #(ly:make-moment 1/16)
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
\set Timing.beatStructure = #'(7 3)
\repeat unfold 10 { a16 }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 4/4
@lilypond[quote,verbatim,relative=2]
\time 4/4
-\set Timing.baseMoment = #(ly:make-moment 1 8)
+\set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
\set Timing.beatStructure = #'(3 3 2)
% This won't beam (3 3 2) because of beamExceptions
\repeat unfold 8 {c8} |
<<
\new Staff {
\time 3/4
<<
\new Staff {
\time 3/4
- \set Timing.baseMoment = #(ly:make-moment 1 8)
+ \set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
\set Timing.beatStructure = #'(1 5)
\repeat unfold 6 { a8 }
}
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
@lilypond[relative=1,verbatim,quote]
\override Beam.grow-direction = #LEFT
-\featherDurations #(ly:make-moment 2 1)
+\featherDurations #(ly:make-moment 2/1)
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
{ c16[ c c c c c c c] }
\override Beam.grow-direction = #RIGHT
-\featherDurations #(ly:make-moment 2 3)
+\featherDurations #(ly:make-moment 2/3)
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
{ c32[ d e f] }
% revert to non-feathered beams
\override Beam.grow-direction = #'()
@lilypond[quote,verbatim]
\new Voice \relative c' {
@lilypond[quote,verbatim]
\new Voice \relative c' {
- \set Timing.measureLength = #(ly:make-moment 5 4)
+ \set Timing.measureLength = #(ly:make-moment 5/4)
- \set Timing.measurePosition = #(ly:make-moment 5 8)
+ \set Timing.measurePosition = #(ly:make-moment 5/8)
The @code{Page_turn_engraver} reads the context property
@code{minimumPageTurnLength} to determine how long a note-free section must
be before a page turn is considered. The default value for
The @code{Page_turn_engraver} reads the context property
@code{minimumPageTurnLength} to determine how long a note-free section must
be before a page turn is considered. The default value for
-@code{minimumPageTurnLength} is @code{(ly:make-moment 1 1)}. If you want
+@code{minimumPageTurnLength} is @code{(ly:make-moment 1/1)}. If you want
to disable page turns, you can set it to something very large.
@example
to disable page turns, you can set it to something very large.
@example
a4 b c d |
R1 | % a page turn will be allowed here
a4 b c d |
a4 b c d |
R1 | % a page turn will be allowed here
a4 b c d |
- \set Staff.minimumPageTurnLength = #(ly:make-moment 5 2)
+ \set Staff.minimumPageTurnLength = #(ly:make-moment 5/2)
R1 | % a page turn will not be allowed here
a4 b r2 |
R1*2 | % a page turn will be allowed here
R1 | % a page turn will not be allowed here
a4 b r2 |
R1*2 | % a page turn will be allowed here
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
which is the reference duration against that all music will be spaced.
The LilyPond Scheme function @code{make-moment} takes two arguments
-- a numerator and denominator which together express some fraction of
which is the reference duration against that all music will be spaced.
The LilyPond Scheme function @code{make-moment} takes two arguments
-- a numerator and denominator which together express some fraction of
-a whole note. The call @code{(ly:make-moment 1 20)} therefore produces
+a whole note. The call @code{(ly:make-moment 1/20)} therefore produces
a reference duration of a twentieth note. Values such as
a reference duration of a twentieth note. Values such as
-@code{(ly:make-moment 1 16)}, @code{(ly:make-moment 1 8)}, and
-@code{(ly:make-moment 3 97)} are all possible as well.
+@code{(ly:make-moment 1/16)}, @code{(ly:make-moment 1/8)}, and
+@code{(ly:make-moment 3/97)} are all possible as well.
How do we select the right reference duration to pass to
@code{proportionalNotationDuration}? Usually by a process of trial
How do we select the right reference duration to pass to
@code{proportionalNotationDuration}? Usually by a process of trial
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 8)
+ proportionalNotationDuration = #(ly:make-moment 1/8)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 16)
+ proportionalNotationDuration = #(ly:make-moment 1/16)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 32)
+ proportionalNotationDuration = #(ly:make-moment 1/32)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\layout {
\context {
\Score
\layout {
\context {
\Score
- proportionalNotationDuration = #(ly:make-moment 1 20)
+ proportionalNotationDuration = #(ly:make-moment 1/20)
\override SpacingSpanner.uniform-stretching = ##t
}
}
\override SpacingSpanner.uniform-stretching = ##t
}
}
@lilypond[quote,verbatim,ragged-right]
\new Staff {
@lilypond[quote,verbatim,ragged-right]
\new Staff {
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/2)
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/2)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "template, vocal-music"
\header {
lsrtags = "template, vocal-music"
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/2)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "automatic-notation, connecting-notes, rhythms"
\header {
lsrtags = "automatic-notation, connecting-notes, rhythms"
- \set baseMoment = #(ly:make-moment 1 8)
+ \set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
b32^"baseMoment 1 8"[ a g f c' b a g]
\set beatStructure = #'(2 2 2 2)
b32^"baseMoment 1 8"[ a g f c' b a g]
- \set baseMoment = #(ly:make-moment 1 16)
+ \set baseMoment = #(ly:make-moment 1/16)
\set beatStructure = #'(4 4 4 4)
b32^"baseMoment 1 16"[ a g f c' b a g]
}
\set beatStructure = #'(4 4 4 4)
b32^"baseMoment 1 16"[ a g f c' b a g]
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "rhythms"
\header {
lsrtags = "rhythms"
\relative c'' {
\time 5/4
% Set default beaming for all staves
\relative c'' {
\time 5/4
% Set default beaming for all staves
- \set Score.baseMoment = #(ly:make-moment 1 8)
+ \set Score.baseMoment = #(ly:make-moment 1/8)
\set Score.beatStructure = #'(3 4 3)
<<
\new Staff {
\set Score.beatStructure = #'(3 4 3)
<<
\new Staff {
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
\header {
lsrtags = "workaround, contexts-and-engravers, contemporary-notation, rhythms"
\header {
lsrtags = "workaround, contexts-and-engravers, contemporary-notation, rhythms"
\new Staff {
\scaleDurations 8/5 {
\time 6/8
\new Staff {
\scaleDurations 8/5 {
\time 6/8
- \set Timing.measureLength = #(ly:make-moment 6 5)
+ \set Timing.measureLength = #(ly:make-moment 6/5)
- \set Timing.measureLength = #(ly:make-moment 4 5)
+ \set Timing.measureLength = #(ly:make-moment 4/5)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "fretted-strings"
\header {
lsrtags = "fretted-strings"
\layout {
\context {
\Score
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "headword"
\header {
lsrtags = "headword"
% \context {
% \Score
% \override SpacingSpanner.base-shortest-duration =
% \context {
% \Score
% \override SpacingSpanner.base-shortest-duration =
-% #(ly:make-moment 1 20)
+% #(ly:make-moment 1/20)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "pitches, really-cool, scheme-language"
\header {
lsrtags = "pitches, really-cool, scheme-language"
(make-event-chord
(list
(make-music 'NoteEvent
(make-event-chord
(list
(make-music 'NoteEvent
- 'duration (ly:make-duration 2 0 1 1)
+ 'duration (ly:make-duration 2 0 1/1)
'pitch (ly:make-pitch
(quotient idx 7)
(remainder idx 7)
'pitch (ly:make-pitch
(quotient idx 7)
(remainder idx 7)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "automatic-notation, really-cool, scheme-language"
\header {
lsrtags = "automatic-notation, really-cool, scheme-language"
(lambda (parser)
(let* ((music (make-music 'EventChord
'elements (list (make-music 'NoteEvent
(lambda (parser)
(let* ((music (make-music 'EventChord
'elements (list (make-music 'NoteEvent
- 'duration (ly:make-duration 2 0 1 1)
+ 'duration (ly:make-duration 2 0 1/1)
'pitch (ly:make-pitch 0 pitch 0)))))
(score (scorify-music music parser))
(layout (ly:output-def-clone $defaultlayout))
'pitch (ly:make-pitch 0 pitch 0)))))
(score (scorify-music music parser))
(layout (ly:output-def-clone $defaultlayout))
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "editorial-annotations"
\header {
lsrtags = "editorial-annotations"
% set up grids
\consists "Grid_point_engraver"
% set the grid interval to one quarter note
% set up grids
\consists "Grid_point_engraver"
% set the grid interval to one quarter note
- gridInterval = #(ly:make-moment 1 4)
+ gridInterval = #(ly:make-moment 1/4)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "editorial-annotations"
\header {
lsrtags = "editorial-annotations"
\context {
\Staff
\consists "Grid_point_engraver"
\context {
\Staff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 1 8)
+ gridInterval = #(ly:make-moment 1/8)
% set line length and positioning:
% two staff spaces above center line on hidden staff
% to four spaces below center line on visible staff
% set line length and positioning:
% two staff spaces above center line on hidden staff
% to four spaces below center line on visible staff
\header {
lsrtags = "workaround, contexts-and-engravers, contemporary-notation, rhythms"
\header {
lsrtags = "workaround, contexts-and-engravers, contemporary-notation, rhythms"
\new Staff {
\scaleDurations 8/5 {
\time 6/8
\new Staff {
\scaleDurations 8/5 {
\time 6/8
- \set Timing.measureLength = #(ly:make-moment 6 5)
+ \set Timing.measureLength = #(ly:make-moment 6/5)
- \set Timing.measureLength = #(ly:make-moment 4 5)
+ \set Timing.measureLength = #(ly:make-moment 4/5)
\header {
lsrtags = "template, real-music, specific-notation"
\header {
lsrtags = "template, real-music, specific-notation"
\context {
\Staff
\consists "Grid_point_engraver"
\context {
\Staff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 4 4) % 4/4 - tact. How many beats per bar
+ gridInterval = #(ly:make-moment 4/4) % 4/4 - tact. How many beats per bar
% The following line has to be adjusted O-F-T-E-N.
\override GridPoint.Y-extent = #'(-2 . -21)
}
% The following line has to be adjusted O-F-T-E-N.
\override GridPoint.Y-extent = #'(-2 . -21)
}
\remove "Bar_number_engraver"
\override SpacingSpanner.uniform-stretching = ##t
\override SpacingSpanner.strict-note-spacing = ##t
\remove "Bar_number_engraver"
\override SpacingSpanner.uniform-stretching = ##t
\override SpacingSpanner.strict-note-spacing = ##t
- proportionalNotationDuration = #(ly:make-moment 1 64)
+ proportionalNotationDuration = #(ly:make-moment 1/64)
\relative c'' <<
\override Score.SpacingSpanner.strict-note-spacing = ##t
\relative c'' <<
\override Score.SpacingSpanner.strict-note-spacing = ##t
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\new Staff {
c8[ c \clef alto c c \grace { d16 } c8 c] c4
c2 \grace { c16[ c16] } c2
\new Staff {
c8[ c \clef alto c c \grace { d16 } c8 c] c4
c2 \grace { c16[ c16] } c2
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "headword"
\header {
lsrtags = "headword"
\context {
\Score
\override SpacingSpanner.base-shortest-duration =
\context {
\Score
\override SpacingSpanner.base-shortest-duration =
%\override SpacingSpanner.strict-grace-spacing = ##t
}
}
%\override SpacingSpanner.strict-grace-spacing = ##t
}
}
%
% This file is in the public domain.
%% Note: this file works from version 2.17.6
%
% This file is in the public domain.
%% Note: this file works from version 2.17.6
\header {
lsrtags = "template, real-music, specific-notation"
\header {
lsrtags = "template, real-music, specific-notation"
\context {
\Staff
\consists "Grid_point_engraver"
\context {
\Staff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 4 4) % 4/4 - tact. How many beats per bar
+ gridInterval = #(ly:make-moment 4/4) % 4/4 - tact. How many beats per bar
% The following line has to be adjusted O-F-T-E-N.
\override GridPoint.Y-extent = #'(-2 . -21)
}
% The following line has to be adjusted O-F-T-E-N.
\override GridPoint.Y-extent = #'(-2 . -21)
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "repeats"
\header {
lsrtags = "repeats"
\relative c'' {
\time 3/4
c4 c c
\relative c'' {
\time 3/4
c4 c c
- \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
+ \set Score.voltaSpannerDuration = #(ly:make-moment 3/4)
\repeat volta 5 { d4 d d }
\alternative {
{
\repeat volta 5 { d4 d d }
\alternative {
{
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "headword"
\header {
lsrtags = "headword"
\context {
\Score
\override SpacingSpanner.base-shortest-duration =
\context {
\Score
\override SpacingSpanner.base-shortest-duration =
\override NonMusicalPaperColumn.line-break-system-details =
#'((alignment-distances . (12)))
}
\override NonMusicalPaperColumn.line-break-system-details =
#'((alignment-distances . (12)))
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "rhythms"
\header {
lsrtags = "rhythms"
c32[ c c c c c c c]
% Set beam sub-group length to an eighth note
c32[ c c c c c c c]
% Set beam sub-group length to an eighth note
- \set baseMoment = #(ly:make-moment 1 8)
+ \set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
c32[ c c c c c c c]
% Set beam sub-group length to a sixteenth note
\set beatStructure = #'(2 2 2 2)
c32[ c c c c c c c]
% Set beam sub-group length to a sixteenth note
- \set baseMoment = #(ly:make-moment 1 16)
+ \set baseMoment = #(ly:make-moment 1/16)
\set beatStructure = #'(4 4 4 4)
c32[ c c c c c c c]
}
\set beatStructure = #'(4 4 4 4)
c32[ c c c c c c c]
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\header {
lsrtags = "headword"
\header {
lsrtags = "headword"
\context {
\Score
\override SpacingSpanner.base-shortest-duration =
\context {
\Score
\override SpacingSpanner.base-shortest-duration =
- \once \override Beam.grow-direction = #RIGHT % \featherDurations #(ly:make-moment 2 3)
+ \once \override Beam.grow-direction = #RIGHT % \featherDurations #(ly:make-moment 2/3)
{ d16 \staccato
[ d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato]
}
{ d16 \staccato
[ d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato]
}
\paper { ragged-right = ##t }
{
\time 2/4
b16 b b b
b16 b b b
\set subdivideBeams = ##t
\paper { ragged-right = ##t }
{
\time 2/4
b16 b b b
b16 b b b
\set subdivideBeams = ##t
- \set Score.baseMoment = #(ly:make-moment 1 8)
+ \set Score.baseMoment = #(ly:make-moment 1/8)
r8^\markup "Beam to the beat" c c c c c
c c c r r4 \bar "||"
r8^\markup "Beam to the beat" c c c c c
c c c r r4 \bar "||"
- \set Timing.baseMoment = #(ly:make-moment 1 8)
+ \set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(3 3)
r8^\markup "Override to beam groups of 3 eighth notes" c c c c c
r4. c8 c c c c c r4.
\set Timing.beatStructure = #'(3 3)
r8^\markup "Override to beam groups of 3 eighth notes" c c c c c
r4. c8 c c c c c r4.
\header{
texidoc = "Fully concave beams should be horizontal. Informally spoken,
\header{
texidoc = "Fully concave beams should be horizontal. Informally spoken,
-resetMeasure = \set Score.measurePosition = #(ly:make-moment 0 1)
+resetMeasure = \set Score.measurePosition = #(ly:make-moment 0/1)
%% examples from Ross.
rossFourBeams =\relative c'' {
%% examples from Ross.
rossFourBeams =\relative c'' {
\paper {
ragged-right = ##t
\paper {
ragged-right = ##t
% a linear decrease instead?
%
% a linear decrease instead?
%
-\featherDurations #(ly:make-moment 3 4) \relative c'' {
+\featherDurations #(ly:make-moment 3/4) \relative c'' {
\override Beam.grow-direction = #LEFT
c16[
c c c
\override Beam.grow-direction = #LEFT
c16[
c c c
\relative c' {
\tupletSpan 4
\relative c' {
\tupletSpan 4
- \set baseMoment = #(ly:make-moment 1 8)
+ \set baseMoment = #(ly:make-moment 1/8)
\set subdivideBeams = ##t
\tuplet 6/4 { \repeat unfold 24 { c16 } }
}
\set subdivideBeams = ##t
\tuplet 6/4 { \repeat unfold 24 { c16 } }
}
\context Staff \relative f {
\time 9/8
\context Staff \relative f {
\time 9/8
- \set completionUnit = #(ly:make-moment 3 8)
+ \set completionUnit = #(ly:make-moment 3/8)
- \set completionUnit = #(ly:make-moment 1 4)
+ \set completionUnit = #(ly:make-moment 1/4)
\tupletSpan 4
\tuplet 3/2 { e4 c8 f g a4 b8 c4 b8 a4 g8 a e f4 }
}
\tupletSpan 4
\tuplet 3/2 { e4 c8 f g a4 b8 c4 b8 a4 g8 a e f4 }
}
\header {
texidoc = "The compression factor of a duration identifier is
\header {
texidoc = "The compression factor of a duration identifier is
}
% looks like a whole note, has duration of half note
}
% looks like a whole note, has duration of half note
-wholeHalved = #(ly:make-duration 0 0 1 2)
+wholeHalved = #(ly:make-duration 0 0 1/2)
%% todo : use macro, to show the statement tested.
#(ly:progress "~a\n" (ly:expand-environment "${HOME} $HOME $$ "))
%% todo : use macro, to show the statement tested.
#(ly:progress "~a\n" (ly:expand-environment "${HOME} $HOME $$ "))
%% very platform dependent.
%% #(ly:font-config-display-fonts)
%% very platform dependent.
%% #(ly:font-config-display-fonts)
-#(ly:progress "~A\n" (ly:duration->string (ly:make-duration 2 2 3 7)))
+#(ly:progress "~A\n" (ly:duration->string (ly:make-duration 2 2 3/7)))
#(ly:parser-parse-string (ly:parser-clone parser) "foo = #1 #(ly:progress \"hello there\n\")")
#(ly:progress "~a\n" (ly:truncate-list! (iota 5) 10))
#(ly:parser-parse-string (ly:parser-clone parser) "foo = #1 #(ly:progress \"hello there\n\")")
#(ly:progress "~a\n" (ly:truncate-list! (iota 5) 10))
staves synchronized with the notes."
}
staves synchronized with the notes."
}
\context {
\RhythmicStaff
\consists "Grid_point_engraver"
\context {
\RhythmicStaff
\consists "Grid_point_engraver"
- gridInterval = #(ly:make-moment 1 8)
+ gridInterval = #(ly:make-moment 1/8)
\override BarLine.bar-extent = #'(-0.025 . 0.025)
}
\context {
\override BarLine.bar-extent = #'(-0.025 . 0.025)
}
\context {
\tempo 4 = 66 ~ 72
c1 | c
$(make-event-chord (list (make-music 'TempoChangeEvent
\tempo 4 = 66 ~ 72
c1 | c
$(make-event-chord (list (make-music 'TempoChangeEvent
- 'tempo-unit (ly:make-duration 2 0 1 1)
+ 'tempo-unit (ly:make-duration 2 0 1/1)
'metronome-count (cons 124 132))))
c1 | c
}
'metronome-count (cons 124 132))))
c1 | c
}
(let* ((scmpitch (ly:make-pitch 0 pitch 0))
(music (make-music 'EventChord
'elements (list (make-music 'NoteEvent
(let* ((scmpitch (ly:make-pitch 0 pitch 0))
(music (make-music 'EventChord
'elements (list (make-music 'NoteEvent
- 'duration (ly:make-duration 2 0 1 1)
+ 'duration (ly:make-duration 2 0 1/1)
'pitch scmpitch))))
(score (scorify-music music parser))
(layout (ly:output-def-clone $defaultlayout))
'pitch scmpitch))))
(score (scorify-music music parser))
(layout (ly:output-def-clone $defaultlayout))
\layout {
ragged-right = ##t
\layout {
ragged-right = ##t
} {
\relative c' {
\override Score.SpacingSpanner.uniform-stretching = ##t
} {
\relative c' {
\override Score.SpacingSpanner.uniform-stretching = ##t
- \set Score.proportionalNotationDuration = #(ly:make-moment 4 25)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 4/25)
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\new Staff { c8[ c c c c c] c4 c2 r2 }
\new Staff { c2 \tuplet 3/2 { c8 c c } c4 c1 }
>>
\new Staff { c8[ c c c c c] c4 c2 r2 }
\new Staff { c2 \tuplet 3/2 { c8 c c } c4 c1 }
>>
\header {
texidoc = "When space-to-barline is false, we measure the space between the note and the
\header {
texidoc = "When space-to-barline is false, we measure the space between the note and the
\paper {ragged-right = ##t}
{
\paper {ragged-right = ##t}
{
- \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 16)
+ \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/16)
c'2 \clef bass c'2 \clef treble
\override NoteSpacing.space-to-barline = ##f
c'2 \clef bass c'2 \clef treble
c'2 \clef bass c'2 \clef treble
\override NoteSpacing.space-to-barline = ##f
c'2 \clef bass c'2 \clef treble
\relative c''
<<
\override Score.SpacingSpanner.strict-note-spacing = ##t
\relative c''
<<
\override Score.SpacingSpanner.strict-note-spacing = ##t
- \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
+ \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\new Staff {
c8[ c \clef alto c c \grace { d16 } c8 c] c4 c2
\grace { c16[ c16] }
\new Staff {
c8[ c \clef alto c c \grace { d16 } c8 c] c4 c2
\grace { c16[ c16] }
\relative c'' {
\set subdivideBeams = ##t
\relative c'' {
\set subdivideBeams = ##t
- \set baseMoment = #(ly:make-moment 1 8)
+ \set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
\repeat unfold 8 {
\tuplet 3/2 { c16 e d }
\set beatStructure = #'(2 2 2 2)
\repeat unfold 8 {
\tuplet 3/2 { c16 e d }
% * Add Mordents (reported by Patrick Karl)
%
% * Add Mordents (reported by Patrick Karl)
%
#(use-modules (srfi srfi-1))
#(use-modules (srfi srfi-11))
#(use-modules (srfi srfi-1))
#(use-modules (srfi srfi-11))
% How much to slow down for a rall. or a poco rall.
% (or speed up for accel or poco accel)
% How much to slow down for a rall. or a poco rall.
% (or speed up for accel or poco accel)
-#(define ac:rallFactor (ly:make-moment 60 100)) % 40% slowdown
-#(define ac:pocoRallFactor (ly:make-moment 90 100)) % 10% slowdown
+#(define ac:rallFactor (ly:make-moment 60/100)) % 40% slowdown
+#(define ac:pocoRallFactor (ly:make-moment 90/100)) % 10% slowdown
% The absolute time for a twiddle in a trill, in minutes.
% Start with 1/4 seconds == 1/240 minutes
% The absolute time for a twiddle in a trill, in minutes.
% Start with 1/4 seconds == 1/240 minutes
-#(define ac:maxTwiddleTime (ly:make-moment 1 240))
+#(define ac:maxTwiddleTime (ly:make-moment 1/240))
% How long ordinary grace notes should be relative to their notated
% duration. 9/40 is LilyPond's built-in behaviour for MIDI output
% How long ordinary grace notes should be relative to their notated
% duration. 9/40 is LilyPond's built-in behaviour for MIDI output
-#(define ac:currentTempo (ly:make-moment 15 1)) % 4 = 60, measured wholes per minute
+#(define ac:currentTempo (ly:make-moment 15/1)) % 4 = 60, measured wholes per minute
#(define ac:lastTempo ac:currentTempo) % for 'a tempo' or 'tempo I'
% The duration of the current note. Start at a crotchet
% for no good reason.
#(define ac:lastTempo ac:currentTempo) % for 'a tempo' or 'tempo I'
% The duration of the current note. Start at a crotchet
% for no good reason.
-#(define ac:currentDuration (ly:make-duration 2 0 1 1))
+#(define ac:currentDuration (ly:make-duration 2 0 1/1))
% Amount of musical time (in whole notes) that we need to steal from the
% next events seen.
% Amount of musical time (in whole notes) that we need to steal from the
% next events seen.
pre-t
(let loop ((len (ly:music-length music)))
(if (ly:moment<? t len)
pre-t
(let loop ((len (ly:music-length music)))
(if (ly:moment<? t len)
- (loop (ly:moment-mul len (ly:make-moment 1 2)))
+ (loop (ly:moment-mul len (ly:make-moment 1/2)))
#(define (ac:trill music)
" Replace music with time-compressed repeats of the music,
maybe accelerating if the length is longer than a crotchet "
#(define (ac:trill music)
" Replace music with time-compressed repeats of the music,
maybe accelerating if the length is longer than a crotchet "
- (let* ((hemisemidur (ly:make-duration 5 0 1 1))
+ (let* ((hemisemidur (ly:make-duration 5 0 1/1))
(orig-len (ly:music-length music))
(t (ac:twiddletime music))
(uppernote '())
(orig-len (ly:music-length music))
(t (ac:twiddletime music))
(uppernote '())
- (note_moment (ly:moment-mul t (ly:make-moment 1 2)))
+ (note_moment (ly:moment-mul t (ly:make-moment 1/2)))
(c1 (ly:moment-div orig-len note_moment))
(c2 (inexact->exact
(round (/ (ly:moment-main-numerator c1)
(c1 (ly:moment-div orig-len note_moment))
(c2 (inexact->exact
(round (/ (ly:moment-main-numerator c1)
'metronome-count
tempo
'tempo-unit
'metronome-count
tempo
'tempo-unit
- (ly:make-duration 0 0 1 1))
+ (ly:make-duration 0 0 1/1))
(context-spec-music
(make-property-set 'tempoWholesPerMinute tempo) 'Score))))
(context-spec-music
(make-property-set 'tempoWholesPerMinute tempo) 'Score))))
; We implement as a half-shake.
(let*
((totallength (ly:music-length music))
; We implement as a half-shake.
(let*
((totallength (ly:music-length music))
- (newlen (ly:moment-sub totallength (ly:make-moment 3 32)))
+ (newlen (ly:moment-sub totallength (ly:make-moment 3/32)))
(newdur (ly:make-duration
0 0
(ly:moment-main-numerator newlen)
(ly:moment-main-denominator newlen)))
(newdur (ly:make-duration
0 0
(ly:moment-main-numerator newlen)
(ly:moment-main-denominator newlen)))
- (gracedur (ly:make-duration 5 0 1 1))
+ (gracedur (ly:make-duration 5 0 1/1))
(gracenote (ly:music-deep-copy music))
(abovenote (ly:music-deep-copy music))
(mainnote (ly:music-deep-copy music))
(gracenote (ly:music-deep-copy music))
(abovenote (ly:music-deep-copy music))
(mainnote (ly:music-deep-copy music))
((totaldur (ly:music-property
(car (ly:music-property music 'elements)) 'duration))
(dur (ly:duration-length totaldur))
((totaldur (ly:music-property
(car (ly:music-property music 'elements)) 'duration))
(dur (ly:duration-length totaldur))
- (newlen (ly:moment-sub dur (ly:make-moment 2 32)))
+ (newlen (ly:moment-sub dur (ly:make-moment 2/32)))
(newdur (ly:make-duration
0 0
(ly:moment-main-numerator newlen)
(newdur (ly:make-duration
0 0
(ly:moment-main-numerator newlen)
(music-map (lambda (n)
(if (eq? 'NoteEvent (ly:music-property n 'name))
(set! (ly:music-property n 'duration)
(music-map (lambda (n)
(if (eq? 'NoteEvent (ly:music-property n 'name))
(set! (ly:music-property n 'duration)
- (ly:make-duration 5 0 1 1)))
+ (ly:make-duration 5 0 1/1)))
n)
mordent)
(music-map (lambda (n)
n)
mordent)
(music-map (lambda (n)
(main-orig-len (ly:music-length main))
(numerator (ly:moment-main-numerator maindur))
(factor (if (eq? (remainder numerator 3) 0)
(main-orig-len (ly:music-length main))
(numerator (ly:moment-main-numerator maindur))
(factor (if (eq? (remainder numerator 3) 0)
- (ly:make-moment 1 3) (ly:make-moment 1 2))))
+ (ly:make-moment 1/3) (ly:make-moment 1/2))))
(ly:music-compress grace
(ly:moment-mul factor (ly:moment-div main-orig-len grace-orig-len)))
(ly:music-compress grace
(ly:moment-mul factor (ly:moment-div main-orig-len grace-orig-len)))
- (ly:music-compress main (ly:moment-sub (ly:make-moment 1 1) factor))
+ (ly:music-compress main (ly:moment-sub (ly:make-moment 1/1) factor))
(set! (ly:music-property grace 'elements)
(append (ly:music-property grace 'elements)
(set! (ly:music-property grace 'elements)
(append (ly:music-property grace 'elements)
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
\context {
\name "Global"
\context {
\name "Global"
%% These defaults should be the same as the rules established in
%% scm/time-signature-settings.scm for 4/4 time
%% These defaults should be the same as the rules established in
%% scm/time-signature-settings.scm for 4/4 time
- measureLength = #(ly:make-moment 4 4)
- baseMoment = #(ly:make-moment 1 4)
+ measureLength = #(ly:make-moment 4/4)
+ baseMoment = #(ly:make-moment 1/4)
beatStructure = #'(1 1 1 1)
beamExceptions = #'((end . (((1 . 8) . (4 4))
((1 . 12) . (3 3 3 3)))))
beatStructure = #'(1 1 1 1)
beamExceptions = #'((end . (((1 . 8) . (4 4))
((1 . 12) . (3 3 3 3)))))
%
% Declare memorable shortcuts for special unicode characters
%
% Declare memorable shortcuts for special unicode characters
%%% causes tons of "programming error: adding reverse spring,
%%% setting to unit" messages.
%%%
%%% causes tons of "programming error: adding reverse spring,
%%% setting to unit" messages.
%%%
- %\override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 4)
+ %\override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/4)
%\override SpacingSpanner.shortest-duration-space = #0
%\override SpacingSpanner.average-spacing-wishes = ##f
%\override SpacingSpanner.spacing-increment = #0.0
%\override SpacingSpanner.shortest-duration-space = #0
%\override SpacingSpanner.average-spacing-wishes = ##f
%\override SpacingSpanner.spacing-increment = #0.0
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
%%
%% setup for Request->Element conversion.
%%
%% setup for Request->Element conversion.
midiChannelMapping = #'staff
%% quarter = 60
midiChannelMapping = #'staff
%% quarter = 60
- tempoWholesPerMinute = #(ly:make-moment 15 1)
+ tempoWholesPerMinute = #(ly:make-moment 15/1)
\accepts Staff
\accepts DrumStaff
\accepts Staff
\accepts DrumStaff
%% These defaults should be the same as the rules established in
%% scm/time-signature-settings.scm for 4/4 time
%% These defaults should be the same as the rules established in
%% scm/time-signature-settings.scm for 4/4 time
- measureLength = #(ly:make-moment 4 4)
- baseMoment = #(ly:make-moment 1 4)
+ measureLength = #(ly:make-moment 4/4)
+ baseMoment = #(ly:make-moment 1/4)
\consists "Timing_translator"
\consists "Timing_translator"