bug-gnu-music
[Top][All Lists]
Advanced

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

Midi timing error


From: Rune Zedeler
Subject: Midi timing error
Date: Tue, 13 Mar 2001 04:29:31 +0100

Internally midi counts in 1/1440 wholenotes.
If a note duration do not match a whole number of those tiny steps,
lilypond rounds the timing down to nearest possible duration. It does
not in any way correct for the rounding errors that occur.
If, for instance one has \times 8/7 {c'32 c c c c c c}, this should last
1 quarter note, that is 384 steps.
But one single c should last 384/7 = 54.86 steps, which lily rounds down
to 54 steps, so that the entire phrase lasts 54*7=378 steps.
If now one has some "normal"music in another staff, that will be typeset
correctly - and the result is that the staffs/tracks get out of sync :-(
I don't know what happens if one has two such voices on the same staff?

-Rune



reply via email to

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