[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimisation des tournes
From: |
Gérard Degrez |
Subject: |
Re: Optimisation des tournes |
Date: |
Thu, 21 Jun 2018 14:05:56 +0200 |
> Le 14 juin 2018 à 18:06, Jean-Charles Malahieude <address@hidden> a écrit :
>
> Le 13/06/2018 à 20:08, Gérard Degrez a écrit :
>> Bonsoir,
>> La section 4.3.4 du manuel explique comment ajuster la durée minimale du
>> fragment sans note avant une tourne en utilisant la commande
>> \set Staff.minimumPageTurnLength
>> Toutefois, la syntaxe de ly:make-moment est assez sibylline (pour moi du
>> moins).
>> J’ai beau essayer de diverses manières, je ne trouve pas comment faire pour
>> que cette durée minimale soit moins d’une ronde.
>> Dans un adagio en 2/4, j’aimerais pouvoir la fixer à une blanche mais je n’y
>> arrive pas, \set Staff.minimumPageTurnLength = #(ly:make-moment 1/2) ne fait
>> manifestement pas l’affaire.
>> Je fais donc appel aux experts ;-)
>
> Est-ce que, comme dans l'exemple du manuel, le
> Page_turn_engraver est présent ?
Oui, bien sûr.
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.
>
> Cordialement,
> --
> Jean-Charles