lilypond-user
[Top][All Lists]

## How to tie the last note of one variable to the first note of another va

 From: Disc Magnet Subject: How to tie the last note of one variable to the first note of another variable? Date: Sat, 22 Jan 2011 23:54:48 +0530

```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?

```