bug-lilypond
[Top][All Lists]
Advanced

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

Issue 761 in lilypond: Enhancement: Voice contexts should be kept alive


From: codesite-noreply
Subject: Issue 761 in lilypond: Enhancement: Voice contexts should be kept alive
Date: Fri, 06 Mar 2009 13:22:01 +0000

Status: Accepted
Owner: v.villenave
Labels: Type-Enhancement Priority-Low

New issue 761 by v.villenave: Enhancement: Voice contexts should be kept alive
http://code.google.com/p/lilypond/issues/detail?id=761

\version "2.12.2"

%The dontDie is necessary to keep the voices alive.
dontDie = {
  <<
     \context Voice = AAA { s1*5}
     \context Voice = BBB { s1*5}
  >>
}

music = \transpose c c' {
  \context Voice = AAA {
     \voiceOneStyle
     c4 d e f
  }
  \context Voice = BBB {
     \voiceTwoStyle
%%% This is where \set Voice.keepAlive = ##t would replace the need for the
\dontDie %%%
%       \set Voice.keepAlive = ##t
     g a b c
  }
  \context Voice = AAA { c1 }
  \context Voice = BBB { c1 }
  \context Voice = AAA { c1 }
}

\score {
  \new Staff <<
    % Uncomment to work around the problem
    %  \dontDie
     \music
  >>
}

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




reply via email to

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