lilypond-user
[Top][All Lists]
Advanced

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

Re: What's a moment?


From: Han-Wen Nienhuys
Subject: Re: What's a moment?
Date: Thu, 1 May 2008 23:39:59 -0300

2008/4/30 Peter Chubb <address@hidden>:
>  Mats> A quarter note is represented as 1/4, a dotted half note as 3/4,
>  Mats> ...  Obviously it makes sense to add and subtract moments, but
>  Mats> since they internally are represented as rational numbers, you
>  Mats> also get multiplication and division for free.
>
>  So you're saying a lilypond  moment is a duration of musical time, not an
>  instant in musical time?   Is there a function to translate from
>  lilypond moment to lilypond duration and back?

Moments are used interchangeably for points and durations.  There is a
fine point, though; Moment is really a tuple of rationals, with the
first being the 'main' time, and the 2nd the 'grace' time.


-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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