lilypond-user
[Top][All Lists]
Advanced

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

Re: Various ways to write triplets


From: Jean Abou Samra
Subject: Re: Various ways to write triplets
Date: Sun, 27 Feb 2022 15:17:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0



Le 27/02/2022 à 10:29, Pierre-Yves Saumont a écrit :
Hi,

I have always used the following syntax to write triplets:

\tuplet 3/2 {a8 b c)

But when I import MusicXML files, tuplets are most often rendered as:

\once \omit TupletBracket
  \times 2/3  { a8 b8 c8}
  }

The most surprising is that the tuple bracket isn't omitted, and removing "\once \omit TupletBracket" doesn't change anything.

On the other hand, I also found:

a8*2/3  b8*2/3  c8*2/3

which produces a triplet with no bracket.

Here is an example showing the four ways:

\version "2.22.0"

\score {
  \new Staff {
    \relative c' {
      \time 4/4
      \key c \major
      a4 b \tuplet 3/2 {c d e} | f g a b \break
      a,4 b \times 2/3 {c d e} | f g a b \break
      \once \omit TupletBracket
      a,4 b \times 2/3 {c d e} | f g a b \break
      a,4 b c4*2/3  d4*2/3  e4*2/3 | f4 g a b
    }
  }
  \layout {}
}

What is the recommended method to get triplets with and without brackets? And what is the purpose of other methods?




For the record, this has been answered on the French-speaking list
(where Pierre-Yves posted as well because he thought his lilypond-user
subscription was not working).

Jean



reply via email to

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