J’aimerais comprendre la syntaxe du ly:make-moment , les explications du manuel
(ci-dessous) ne sont pas claires pour moi.
"rational main timing" signifie-t-il bien la durée exprimée en fraction de
ronde, p. ex
1 = ronde
1/2 = blanche
5/2 = 2 rondes et demie
Si oui, alors effectivement \set Staff.minimumPageTurnLength =
#(ly:make-moment 1/2) devrait faire l’affaire.
Cordialement,
Gérard
Function: ly:make-moment m g gn gd
Create the moment with rational main timing m, and optional grace timing g.
A moment is a point in musical time. It consists of a pair of rationals (m, g),
where m is the timing for the main notes, and g the timing for grace notes. In
absence of grace notes, g is zero.
For compatibility reasons, it is possible to write two numbers specifying
numerator and denominator instead of the rationals. These forms cannot be
mixed, and the two-argument form is disambiguated by the sign of the second
argument: if it is positive, it can only be a denominator and not a grace
timing.