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: Jürgen Ibelgaufts
Subject: Re: How to tie the last note of one variable to the first note of another variable?
Date: Sun, 23 Jan 2011 02:38:26 -0800 (PST)

Hi,

you may tie the e note in partOne to a e1*0 note, like this:

partOne = \relative c' {
    c4 e g e~ e1*0
}

I did not yet understand why this works, but it does, even in more complex
situations like ties across voices. Note that the e1*0 note must have the
same value as the e1 note in partTwo.

Earlier on, I got advice from this forum to either move the tieEngraver from
voice context to staff context. This works, but has side effects if you have
parallel voices -- I could not manage having two voices printed in different
colors, the ties would always print in the same color. The other solution
was adding hidden notes with \hideNotes, with other side effects.

Cheers
Jürgen


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?
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-tie-the-last-note-of-one-variable-to-the-first-note-of-another-variable--tp30737881p30740914.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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