lilypond-user
[Top][All Lists]
Advanced

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

Re: slurs and ties


From: Carl Sorensen
Subject: Re: slurs and ties
Date: Fri, 6 Nov 2009 17:16:08 -0700



On 11/6/09 12:45 PM, "Erik Appeldoorn" <address@hidden> wrote:

> Right, or rather not so right (Me being wrong)
> 
> I've been trying to implement what you just told me. Trying to create the
> second bar in the jpg I posted. I stumbled and fell. Bruised knees and
> bruised ego. Here is the final version that did not have the ties I need.
> Have been at it for an hour or so. Rather frustrating \rantON I WANT TO
> CREATE NICE SCORES!!! \rantOff
> 
> What part did I not understand?

I think you didn't understand that the purpose of the tieVoice voice was to
have only the ties that span different voices.

You were close, but not quite there.  If it's any consolation, it took me
about 5 minutes to get things working right for you.

And I remember when I started with LilyPond, none of this stuff made sense.
But I promise that if you hang in there, and try to understand *why* these
things work, it will get better.

Here's my code:

\version "2.13.7"
tieVoice = { 
   \voiceThree
   \shiftOff
   \override Voice.NoteColumn #'ignore-collision = ##t
   \set tieWaitForNote = ##t
   \hideNotes
}

\new Staff {
  \relative c'' {
   \key g \major
 << { \voiceOne <a d>8[ fis a d fis e] }
   \new Voice { \voiceTwo fis,8[ fis] fis4 <fis a> }
   \new Voice { \tieVoice a4 <fis a>4_~ <fis a>4 }
 >> \oneVoice
  }
}

HTH,

Carl





reply via email to

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