[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's a moment?
From: |
Mats Bengtsson |
Subject: |
Re: What's a moment? |
Date: |
Wed, 30 Apr 2008 10:10:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8 |
A quarter note is represented as 1/4, a dotted half note as 3/4, ...
Obviously it makes sense to add and subtract moments, but
since they internally are represented as rational numbers, you
also get multiplication and division for free.
/Mats
Peter Chubb wrote:
Hi,
Reading the scheme code and the documentation, I'm struggling
with the concept of a moment in Lilypond. The documentation says it's
a rational number that represents a moment in musical time.
Therefore there should be a way to add a duration to a moment to get
another moment. But there doesn't seem to be. Likewise, there *are*
functions for adding, subtracting, multiplying and dividing moments.
Which makes no sense if a moment is a point in time.
So what *is* a moment? What do the numerator and denominator
represent? Beats? Bar numbers? Milliseconds from the start of the
piece? Inquiring minds want to know.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
A university is a non-profit organisation only in the sense that it
spends everything it gets ... Luca Turin.
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
- What's a moment?, Peter Chubb, 2008/04/30
- Re: What's a moment?,
Mats Bengtsson <=