Janek Warchoł <janek.lilyp...@gmail.com> writes:

>> Decimal numbers are "inexact".  With computers, you'll find that 0.5 and
>> 0.5 will likely add up to result in 1.0, but you'll be lucky if 0.4 and
>> 0.6 add up to 1.0.  For music, the concept of simultaneousness is
>> sometimes important: if a dynamic change happens one microsecond after
>> the attack of a note, it is too late to affect the attack itself.  This
>> will significantly change the MIDI and, if done judiciously, also the
>> print (where losing the direct attachment to a note may cause quite
>> different alignments).
>
> ok, scrap decimals then.

Well, one could convert them into exact fractions.  It is our own choice
what 0.3 means in LilyPond, but we are likely not doing people a favor
if it differs from #0.3 subtly.

-- 
David Kastrup


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to