lilypond-devel
[Top][All Lists]
Advanced

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

Re: music function to be included somewhere in scm/*


From: Alexander Kobel
Subject: Re: music function to be included somewhere in scm/*
Date: Sun, 18 Dec 2016 13:02:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 2016-12-16 19:13, Knut Petersen wrote:
[...] Have a look at the attached ly and the generated pdf ... and
comment on the chosen names and syntax. It should be
self-explanatory. [...]

One more idea (and I feel a bit bad for asking, since I dump the hard work on you again - not sure if I'm able to help):

W.r.t. the extenders to the second repeat alternative: spanners have the to-barline property that alleviates the need for manual length tweaks in such situations. Do you think it's possible with reasonable effort (in particular, reusing the code and/or strategy from spanners) to achieve the same effect for extenders? Such that, e.g., in your last example

\repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } } c4 c

\lyricsto "melody" { Here's a verse. "" "" }
\lyricsto "melody" { Here's \once \override LyricExtender.to-barline = ##t one "" \earlyExtender #-6 more to sing }

would mean that the extender after "one" (that usually extends to the first note in the first alternative) would be stopped earlier, exactly at the barline? (Of course, in an ideal world, the "early extender" would have a corresponding from-barline property, but I don't think we have any example of such a functionality that we can rely on.)


Cheers,
Alexander



reply via email to

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