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



Reply via email to