[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tupletSpannerDuration
From: |
David Kastrup |
Subject: |
Re: tupletSpannerDuration |
Date: |
Sat, 19 Jan 2013 19:39:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
"Mark Stephen Mrotek" <address@hidden> writes:
>> 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."
> Please check my understanding. The “1” and the “4” refer to a quarter
> note, the span over which the command “\times 2/3” acts. Therefore, in
> the example (attached) the tuplets are in the span of a quarter note.
> If I had wanted the tuplets over the spam of a 16th note, I would use
> “1” and “16.” Am I correct?
Sounds like it. Once issue 3095
<URL:http://code.google.com/p/lilypond/issues/detail?id=3095> passes,
you can write
\tuplet 3/2 4 { c8 c c c c c }
and that hopefully needs less of an explanation. Of course, that
explanation still needs to be done (there is no user-level documentation
yet short of the music function appendix), but it will hopefully be more
obvious.
--
David Kastrup