I have a staff with two voices (using \voiceOne and \voiceTwo), where I also 
insert cue notes. The problem now is that after a \cueDuring, all 
\voiceOne/Two settings are reset and do not apply any more.

An example is attached. Before the cue notes, the correct settings are used, 
but after the cue notes, the voice settings of just the voice with the cue 
notes is reset.
Is there anything I can do against this (short of manually inserting \voiceOne 
after each cue, which totally defeats my purpose)?

The other issue is that if both voices use cue notes from the same voice, I 
get double notes. Is there any way around this?

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
\version "2.11.39"
#(ly:set-option 'point-and-click #f)

\header { title="Cue notes mess up \voiceOne and \voiceTwo"}
\layout{ 
  ragged-right = ##t
}

vI = \relative c'' { c4 c c c | c c c c | c c c c | c c c c | c c c c | c c c c | c c c c | }
\addQuote vI \vI
vIIa = \relative c'' { e4 d f, e | \cueDuring "vI" #UP { R1 } | e'4 d f, e }
vIIb = \relative c'' { c4 b d, c | \cueDuring "vI" #UP { R1 } | c'4 b d, c }

<<
% after the cue notes, the voiceOne/Two settings are messed up:
\context Staff = "S1" <<
  \context Voice = vIIa { \voiceOne \vIIa }
  \context Voice = vIIb { \voiceTwo \vIIb }
>>
% killing the cues on one staff does not fix the problem:
\context Staff = "S2" <<
  \context Voice = vIIa { \voiceOne \killCues\vIIa }
  \context Voice = vIIb { \voiceTwo \vIIb }
>>
% killing the cues on both makes it work:
\context Staff = "S3" <<
  \context Voice = vIIa { \voiceOne \killCues\vIIa }
  \context Voice = vIIb { \voiceTwo \killCues\vIIb }
>>
>>


Attachment: cue_voiceOneTwo_messup.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to