making a tie between voices

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

making a tie between voices

Ryan Michael
I have my right hand of my piano music and i want to tie the <c'' e''> in the first voice to the next use of it in time 


%%%%%%%%

<<
\stemDown c''8~

\new Voice {
\stemUp c''16 e''16~
}

>>

<<
\new Voice {

\stemUp
<c'' e''>4.

}
%%%%%%%%

It is currently not tying the c'''8 in the first voice to <c'' e''>4. similarly it is not making the tie between e''16 and the e'' in <c'' e''>4. Isn't there a hack to make it work for cross voice ties? I am sure it has been solved but i am not aware of the solution. thank you!

Ryan.

--
ॐ नमः शिवाय

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: making a tie between voices

Simon Albrecht-2
Hi Ryan,

I’m sorry that I first have to say this: It’s way too difficult to work
with an example like you gave. Please reread
<http://lilypond.org/tiny-examples.html> – your example at least lacked
a \version statement and some closing >> (the latter may be due to a
wrongly configured e-mail setup, either send your e-mail as plain text
right away or attach lilypond code so it won’t get messed with).

Also, please reread the Learning Manual, especially the part on voices.
\stemUp and \stemDown are inappropriate for this use case, instead you
need the \voiceXXX and \oneVoice commands.

For now I have made a guess on what you want to achieve and hope this helps:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18"

\new Staff <<
   \new Voice {
     \voiceOne
     c''16 e''16~
     % normally you’d use
     % \hideNotes
     % which is intended for exactly this purpose of
     % faking cross-voice spanners.
     % However here it causes the dot to disappear,
     % which we need.  So instead, we do
     \once\omit Stem
     e''4.
   }
   \new Voice {
     \voiceTwo
     c''8~ \oneVoice <c'' e''>4.
   }
 >>
%%%%%%%%%%%%%%%%%%%

Best, Simon


On 18.06.2017 08:45, Ryan Michael wrote:

> I have my right hand of my piano music and i want to tie the <c'' e''>
> in the first voice to the next use of it in time
>
>
> %%%%%%%%
>
> <<
> \stemDown c''8~
>
> \new Voice {
> \stemUp c''16 e''16~
> }
>
> >>
>
> <<
> \new Voice {
>
> \stemUp
> <c'' e''>4.
>
> }
> %%%%%%%%
>
> It is currently not tying the c'''8 in the first voice to <c'' e''>4.
> similarly it is not making the tie between e''16 and the e'' in <c''
> e''>4. Isn't there a hack to make it work for cross voice ties? I am
> sure it has been solved but i am not aware of the solution. thank you!
>
> Ryan.
>
> --
> ॐ नमः शिवाय
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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