[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Terminology question
From: |
Jean Abou Samra |
Subject: |
Re: Terminology question |
Date: |
Mon, 31 Oct 2022 09:04:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 |
Hi Jacques,
Le 31/10/2022 à 06:39, Jacques Menu a écrit :
Hello folks,
Is there a LilyPond-specific term for the position of an element in a measure,
such a 7/16?
Do you mean 7/16 as a fraction of the length of a whole note,
or a fraction of the length of a measure?
The former is called "measure position" by LilyPond and stored
in the measurePosition context property. The latter has no specific
name as far as I know, but could be computed as
measurePosition / measureLength.
Both of these are of the type Moment that Aaron described. It's
essentially a rational number plus an optional grace part
(another rational number). The grace part of measurePosition
can be nonzero, that of measureLength is always zero.
Best,
Jean