Autor Thema: Mehrere Tuplets ohne erneute \times-Setzung  (Gelesen 2017 mal)

harm6

  • Member
Mehrere Tuplets ohne erneute \times-Setzung
« am: Freitag, 5. Oktober 2012, 22:17 »
fugenkomponist schrieb hier

Zitat
Ich fänds gut, wenn

\times 2/3 { a8 b c d e f g h i }

das gleiche täte wie

\times 2/3 { a8 b c } \times 2/3 { d e f } \times 2/3 { g h i }

Es gibt bereits jetzt eine Möglichkeit hierfür,

siehe: http://lilypond.org/doc/v2.16/Documentation/notation/writing-rhythms#tuplets

Der entsprechende Abschnitt der deutschen Doku scheint jedoch noch nicht übersetzt zu sein.


Man kann also folgendes schreiben:
\version "2.16.0"

\layout {
        \context {
        \Staff
        tupletSpannerDuration = #(ly:make-moment 1 4)
        }
}

<<
\new Staff
\relative c' {
        \times 2/3 { a8 b c ais bis cis aes bes ces }
}
\new Staff
\relative c' {
        \times 2/3 { a8 b c16 d a8 b c16 d a8 b c16 d}
}
>>
(png im Anhang)

als \set tupletSpannerDuration = #(ly:make-moment 1 4) kann man es natürlich statt ins layout auch in eine einzelne Stimme setzen.


Gruß,
  Harm