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: Knute Snortum
Subject: Re: Various ways to write triplets
Date: Sun, 27 Feb 2022 07:01:26 -0800

There's also a fifth way:

%%%
\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 \break
      % the above can be simplified somewhat to...
      a,4 b c4*2/3 d e | f4 g a b \break
      % and one more way
      a,4 b \scaleDurations 2/3 {c d e} | f4 g a b
    }
  }
  \layout {}
}
%%%

--
Knute Snortum

On Sun, Feb 27, 2022 at 6:17 AM Jean Abou Samra <jean@abou-samra.fr> wrote:
>
>
>
> 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]