lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: optimising typesetting 2 voices with same notes


From: eluze
Subject: Re: optimising typesetting 2 voices with same notes
Date: Mon, 23 May 2011 09:21:58 +0200
User-agent: Opera Mail/11.11 (Win32)

very interesting - a real pitty i didn't know about this snippet before!

thanks!
Eluze

Am 23.05.2011, 00:23 Uhr, schrieb Gilles THIBAULT <address@hidden>:


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
      }
    >>
}
%%%%%%%%%%



reply via email to

[Prev in Thread] Current Thread [Next in Thread]