Op Mon, 19 Sep 2011 20:42:21 +0200
Stefan Thomas <[email protected]> schreef:
> Dear Jan-Peter,
> I would like to create a music function which allows You to build a
> slur lasting some eigth-triplet and some sixtheenth-quintuplet notes.
> I dream of something like:
>
> music = \relative c' {
> \times 2/3 {c8 d e } \times 4/5 {c16 a g f e }
> }
> slurs = {
> \tripletquintupletslur #2 #5 % the slur lasts 2 triplet and 5
> quintuplet notes
> }
> \new Staff { \context Voice << { \music} {\slurs }>>}
> %%%%%%%%%%
You can attach slur to invisible rests and "melt" them together later:
music = \relative c' {
\times 2/3 {c8 d e } \times 4/5 {c16 a g f e }
}
slurs = {
\times 2/3 { s8 s( s } \times 4/5 { s16 s s s) s}
}
\new Staff {
\new Voice <<
\music
\slurs
>>
}
--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user