Re: How to cancel voice so ties are right direction

2012-05-26 Thread Jeff Barnes
Thanks for the replies, everyone. 
David Kastrup wrote:

 \relative c' takes a music expression as an argument, and in this case,
 the argument is the parallel music  ... .


Interesting. Does \voiceXXX take a music expression too? If so, can I set the 
bounds of the expression with {}? 

 I don't see that you have a wrong tie direction.  Take all the
 parallel music out, and LilyPond will choose the same tie.  If you want
 to flip it up explicitly, probably the easiest way is writing ^~ instead
 of ~.

I've found a general need to add \xxxNeutral after using \voices to get stems, 
ties, tuplets, etc to line up correctly  
(http://lilypond.org/doc/v2.14/Documentation/learning/within_002dstaff-objects). It's
 not clear to me what the bounds of \voiceXXX are. 

If expression boundaries impact the state of the parser, it seems Lily is 
adding a burden to the user by forcing the user to manage expression boundaries 
without a consistent way to define the boundaries. At least, that's the 
objection that's inside my noob head, anyway. Also, trying to fix the tie 
problem sent me through the path of adding all sorts of things to the music 
that made reading it more difficult.

I looked at the grammar at 
http://lilypond.org/doc/v2.14/Documentation/notation/lilypond-grammar. Where is 
\voiceXXX defined?

Jeff

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to cancel voice so ties are right direction

2012-05-26 Thread Phil Holmes
- Original Message - 
From: Jeff Barnes jbarnes...@yahoo.com

To: David Kastrup d...@gnu.org; lilypond-user@gnu.org
I looked at the grammar at 
http://lilypond.org/doc/v2.14/Documentation/notation/lilypond-grammar. 
Where is \voiceXXX defined?


http://lilypond.org/doc/v2.14/Documentation/notation/multiple-voices

--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to cancel voice so ties are right direction

2012-05-25 Thread Jeff Barnes
This snippet illustrates a problem I'm having. The tie on the g is in the wrong 
direction after I've finished with the voice split. How do I get the correct 
tie direction? It looks like the \voices are still in scope wrt ties.

Also, why did I lose the \relative c' after the voice split?

\score {
  
    \new Staff {
      \relative c'
      
        {
          \voiceOne
          g'2
        } \\ {
          \voiceTwo
          c,2
        }
      
      g' c'4 ~ g' b
    }
  
  \layout { }
}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to cancel voice so ties are right direction

2012-05-25 Thread Urs Liska
Write ^ or _ before the tilde to force the tie up or down.
Works also with articulations, slurs and many other things.

Best
Urs
-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



Jeff Barnes jbarnes...@yahoo.com schrieb:

This snippet illustrates a problem I'm having. The tie on the g is in the wrong 
direction after I've finished with the voice split. How do I get the correct 
tie direction? It looks like the \voices are still in scope wrt ties.

Also, why did I lose the \relative c' after the voice split?

\score {
  
\new Staff {
  \relative c'
  
{
  \voiceOne
  g'2
} \\ {
  \voiceTwo
  c,2
}
  
  g' c'4 ~ g' b
}
  
  \layout { }
}

_

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

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to cancel voice so ties are right direction

2012-05-25 Thread David Kastrup
Jeff Barnes jbarnes...@yahoo.com writes:

 This snippet illustrates a problem I'm having. The tie on the g is in
 the wrong direction after I've finished with the voice split. How do I
 get the correct tie direction? It looks like the \voices are still in
 scope wrt ties.

 Also, why did I lose the \relative c' after the voice split?

\relative c' takes a music expression as an argument, and in this case,
the argument is the parallel music  ... .

I don't see that you have a wrong tie direction.  Take all the
parallel music out, and LilyPond will choose the same tie.  If you want
to flip it up explicitly, probably the easiest way is writing ^~ instead
of ~.

 \score {
   
 \new Staff {
   \relative c'
   
 {
   \voiceOne
   g'2
 } \\ {
   \voiceTwo
   c,2
 }
   
   g' c'4 ~ g' b
 }
   
   \layout { }
 }

-- 
David Kastrup


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user