lilypond-user
[Top][All Lists]

## Re: \tuplet 2/3

 From: address@hidden Subject: Re: \tuplet 2/3 Date: Wed, 16 Dec 2020 06:45:06 +0000 (GMT)

----- Original Message -----
> From: "Timothy Lanfear" <timothy@lanfear.me>
> To: "Lillypond Users Mailing List" <lilypond-user@gnu.org>
> Sent: Tuesday, December 15, 2020 10:44:33 PM
> Subject: Re: \tuplet 2/3

> On 15/12/2020 22:26, Aaron Hill wrote:
>> On 2020-12-15 2:09 pm, bobroff@centrum.is wrote:
>>> I need to print half-note duplets in 3/4 time.  '\tuplet 2/3' does not
>>> work.  The code below *does* work.  My question is; is this the
>>> "right" way to do this?
>>>
>>> Thanks,
>>>
>>> David
>>>
>>> \version "2.20.0"
>>>
>>> \score {
>>>   \relative c' {
>>>     \time 3/4
>>>     \once\override TupletNumber.text = \markup{ "2" }
>>>     \tuplet 4/3 {c2 c}
>>>   }
>>> }
>>
>> \tuplet 2/3 would mean every two notes of a particular duration should
>> last as long as three notes of that duration.  But three half notes
>> would be two full measures in 3/4 time.  So, \tuplet 4/3 would be
>> correct if you intend for two half notes to "fill" a 3/4 measure.
>> Consider:
>>
>> %%%%
>> \version "2.20.0"
>>
>> { \time 3/4
>>   | b'4. b'                 % two dotted quarters
>>   | b'2*3/4 b'              % half notes scaled by 3/4
>>   | \times 3/4 { b'2 b'  }  % same, but using \times
>>   | \tuplet 4/3 { b'2 b' }  % same, but using \tuplet
>> }
>> %%%%
>>
>> \tuplet and \times differ only on the order of numerator/denominator.
>>
>>
>> -- Aaron Hill
>>
> Another approach, that prints a "2" for the tuplet number is
>
> \score {
>   \relative c' {
>     \time 3/4
>     \tuplet 2/3 {c2*1/2 c}
>   }
> }
>
> c2 provides the graphical representation of a minim; scaling by 1/2
> gives them the duration of crotchet, and the 2/3 tuplet makes two of
> them fill a 3/4 bar.

Thank you! Yes, this is the solution I was chasing.  It's more compact and
sidesteps the need to override the tuplet number.

-David
>
>
> --
> Timothy Lanfear, Bristol, UK.