lilypond-user
[Top][All Lists]
Advanced

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

Re: warning message - missing slur


From: Ben
Subject: Re: warning message - missing slur
Date: Sun, 14 Apr 2019 07:53:18 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/14/2019 4:33 AM, Lukas-Fabian Moser wrote:

I've done two things. First, I've rewritten your code in a way that's easier for me to read.
Second, and more to the point, I've changed the "outside" set of slurs to phrasing slurs. AFAIK, you can't nest regular slurs. Please take a look at <http://lilypond.org/doc/v2.19/Documentation/learning/ties-and-slurs> .

That's not true anymore: In recent versions (starting at some point in the 2.19.xx series), slurs can be assigned a "name" allowing them to be referenced, and in particular, nested (cf. http://lilypond.org/doc/v2.19/Documentation/changes/index.html):


\version "2.19.83"
\language "english"

\fixed c'
{ <<
  {
    f4 e8 c8~( c4 e8\=inner( f8\inner) ) |     % the \( and \) are phrasing slurs.
  }
  \\
  {
    f4 e8 c~ 4~ 4 ||
  }
  >>
  }

Though I admit that the layout engine handles the phrasing slur better in this specific situation.

By the way, it's even possible to do

\version "2.19.82"

\fixed c' {
  c\=1( d e^\=2( f\=1) g a\=2)
}

IMHO this feature alone is worth the (negligible) trouble of switching to recent development versions.

Best
Lukas


Absolutely agree. The whole name/ID slur config is a huge game changer. So happy that we have it! :)



reply via email to

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