lilypond-user
[Top][All Lists]
Advanced

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

Re: \tuplet 2/3


From: Timothy Lanfear
Subject: Re: \tuplet 2/3
Date: Tue, 15 Dec 2020 22:44:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

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.


--
Timothy Lanfear, Bristol, UK.




reply via email to

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