On 19/01/13 18:04, Mark Stephen Mrotek wrote:

Hello:

From the manual:

\relative c' {

  \time 2/4

  \set tupletSpannerDuration = #(ly:make-moment 1 4)

  \times 2/3 { c8 c c c c c }

}

I understand everything except how the "1" and "4" relate to the notation.


Have a look at the section of the documentation on time administration (http://lilypond.org/doc/v2.17/Documentation/notation/special-rhythmic-concerns#time-administration): "ly:make-moment n m constructs a duration of n/m of a whole note. For example, ly:make-moment 1 8 is an eighth note duration and ly:make-moment 7 16 is the duration of seven sixteenths notes."

BTW, both #(ly:make-moment 1 4) and #(ly:make-moment 1/4) are valid, and both forms can be found in the documentation (see http://lilypond.org/doc/v2.17/Documentation/learning/types-of-properties) for examples of the second. Is one form preferred over the other? If so, maybe that should be consistently used throughout the documentation.

Nick
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to