[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: substitution for numerator
From: |
Wilbert Berendsen |
Subject: |
Re: substitution for numerator |
Date: |
Tue, 20 Sep 2011 16:33:48 +0200 |
Op Mon, 19 Sep 2011 20:42:21 +0200
Stefan Thomas <address@hidden> 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)