lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimisation des tournes


From: Jean-Charles Malahieude
Subject: Re: Optimisation des tournes
Date: Thu, 21 Jun 2018 18:22:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Le 21/06/2018 à 14:05, Gérard Degrez a écrit :

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.



Une bonne partie des annexes ne speuvent être traduites, étant générées directement à partir des fichiers source de LilyPond.

Tu as raison : 0,5 est un nombre rationnel, 1/2 une fraction (numérateur et dénominateur).

Cordialement,
--
Jean-Charles



reply via email to

[Prev in Thread] Current Thread [Next in Thread]