lilypond-devel
[Top][All Lists]
Advanced

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

\change Voice


From: Dan Eble
Subject: \change Voice
Date: Tue, 21 Apr 2015 22:21:24 -0400

Would it be hard to make \change Voice work as below without relying on the 
extra “X” context?
— 
Dan

\version "2.19.17"

\layout {
  \context {
    \name "X"
    \type "Engraver_group"
  }
  \context {
    \Voice
    \accepts "X"
    \defaultchild "X"
  }
}

\new Staff <<
  \context Voice = "one" \with { \voiceOneStyle } {
    f'2 \change Voice = "two" f'2
  }
  \context Voice = "two" \with { \voiceTwoStyle } {
    s1
  }
>>




reply via email to

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