James,

 

Thank you for your reply and the resolution. I appreciate your helping me to 
learn Lilypond.

 

Mark

 

From: James Worlton [mailto:[email protected]] 
Sent: Friday, October 31, 2014 11:38 AM
To: Mark Stephen Mrotek
Cc: lilypond-user
Subject: Re: inputting with explicit voices

 

On Thu, Oct 30, 2014 at 10:41 AM, Mark Stephen Mrotek <[email protected]> 
wrote:

Hello!

 

When inputting code for polyphony, e.g. a fugue, using  explicit voices (<< 
\new voice { voiceOne … } \new voice { voiceTwo } >> ), the first note of 
voiceTwo is placed, octave wise, in relation to the last note set in voiceOne. 
As the last note entered in voiceOne changes octave, all of voiceTwo moves up 
or down. The only way I could find to avoid this was to set all of voiceOne and 
then set voiceTwo.

 

Does an alternative exist?

 

Thank you for your kind attention.

 

Mark

 

My approach to this issue is to use \relative *within* each voice, as opposed 
to having an overall relative that encompasses the whole variable. Something 
like


\score { 

   \new Staff {

    <<

       {

         \voiceOne

         \relative c' { c4 d e f }

         } \new Voice

         {

         \voiceTwo

         \relative g { g4 b a a }

       }

     >> \oneVoice

   }

}

 

James Worlton

 

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to