Deutsches Lilypond Forum (Archiv)
Allgemein => Fragen zu Funktionen => Thema gestartet von: harm6 am Freitag, 5. Oktober 2012, 22:17
-
fugenkomponist schrieb hier (https://liarchiv.joonet.de/index.php?topic=1213.msg6670#msg6670)
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 (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