lilypond-user
[Top][All Lists]
Advanced

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

Re: Replace slur events with skip


From: David Nalesnik
Subject: Re: Replace slur events with skip
Date: Mon, 17 Nov 2014 07:35:19 -0600



On Mon, Nov 17, 2014 at 7:06 AM, David Nalesnik <address@hidden> wrote:
Hi Jay,

On Mon, Nov 17, 2014 at 6:37 AM, Jay Vara <address@hidden> wrote:
I tried to change the tiedNoteToSkip procedure to also skip slurs. For some reason, it does not seem to work the same way. It skips the first note in a 3 note slur, but not the second. 


No time to look at this in depth, but my first guess is that you need to find a way to remember that you still have a slur between the event that creates it and the event that terminates it.


To see how the music _expression_ is different for slurs versus ties, compare the output of the following:

 
\displayMusic {
  c''4(  b' c'')
}

\displayMusic {
  c''4~ c''~ c''
}

You'll see that for slurs, there is a SlurEvent with span-direction which begins and ends the slur, but no "evidence" of a slur in between.  Ties are from note-to-note, and apparently there was thought to be no need of both initiating and terminating events.  How you'd ever get this to work with tieWaitForNote set to #t, I couldn't say.

--David

reply via email to

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