lilypond-user
[Top][All Lists]
Advanced

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

Re: How to tie the last note of one variable to the first note of anothe


From: James Bailey
Subject: Re: How to tie the last note of one variable to the first note of another variable?
Date: Sat, 22 Jan 2011 20:07:42 +0100

On Jan 22, 2011, at 7:24 PM, Disc Magnet wrote:

> partOne = \relative c' {
>    c4 e g e~
> }
> 
> partTwo = \relative c' {
>    e1
>    c4 e g e~
>    e1
> }
> 
> \score {
>    \new PianoStaff <<
>        \set PianoStaff.midiInstrument = "acoustic grand"
> 
>        \new Staff {
>            \tempo 4 = 120
>            \partOne
>            \partTwo
>        }
>>> 
>    \midi { }
>    \layout {}
> }
> 
> I expect the last e of partOne and first e of partTwo to be tied
> together. However, it doesn't happen so. What is the right way to do
> this?

I haven't checked it, but they're probably in different voice contexts. 
Possible explicity doing a \new Voice = first and \context Voice = first where 
appropriate may solve the problem.


reply via email to

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