[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: optimising typesetting 2 voices with same notes
From: |
Gilles THIBAULT |
Subject: |
Re: optimising typesetting 2 voices with same notes |
Date: |
Mon, 23 May 2011 00:23:22 +0200 |
my question is how to proceed to have a minimal effort
You can use this snippet
http://lsr.dsi.unimi.it/LSR/Item?id=654
%%%%%%%%%%
\include "changePitch.ly"
patI = \context Voice {\voiceOne \repeat unfold 4 { s8 c }}
patII = \samePitch << {\voiceOne c8 s8 } \new Voice {\voiceTwo c4} >>
\new Staff {
<<
\changePitch \patI \relative {
< d' fis>
< d e>
< cis e>
}
\changePitch \patII \relative {
d fis b a
g e fis g
a a, a' g
}
>>
}
%%%%%%%%%%