lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 2671 in lilypond: Patch: Provide functions ly:mome


From: lilypond
Subject: [Lilypond-auto] Issue 2671 in lilypond: Patch: Provide functions ly:moment-main and ly:moment-grace
Date: Tue, 17 Jul 2012 09:40:32 +0000

Status: New
Owner: ----
Labels: Type-Enhancement Patch-new

New issue 2671 by address@hidden: Patch: Provide functions ly:moment-main and ly:moment-grace
http://code.google.com/p/lilypond/issues/detail?id=2671

Provide functions ly:moment-main and ly:moment-grace

Those will usually be more convenient than using ly:moment-*-numerator
and ly:moment-*-denominator.

Also, (/ (ly:moment-*-numerator ...) (ly:moment-*-denominator ...))
can't deal with infinite moment components.  This could theoretically
be amended by letting (ly:moment-*-denominator ...) resolve to
_inexact_ zero (in which case the division turns out ±inf.0), but that
is all rather hand-wavy and flimsy.  Being able to access the
components directly is more straightforward.

http://codereview.appspot.com/6373055


reply via email to

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