\version "2.13.42"

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 {
          \set tieWaitForNote = ##t
            \tempo 4 = 120
            \partOne
            \partTwo
        }>>
    \midi { }
    \layout {}
}

HTH

patrick
Am 22.01.2011 um 19:24 schrieb Disc Magnet:

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 {}
}

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

Reply via email to