lilypond-devel
[Top][All Lists]
Advanced

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

Re: how does uniform-stretching work?


From: Juergen Reuter
Subject: Re: how does uniform-stretching work?
Date: Wed, 22 Feb 2006 12:19:06 +0100 (CET)

On Tue, 21 Feb 2006, Han-Wen Nienhuys wrote:

...

there is only 1 SpacingSpanner in the entire score. You can only override it at the start.


Just a half-baken, weired idea (and not at all thoroughly thought through): Are there much more examples of properties that can be overridden only once at start? For example, StaffSymbol #'line-count comes into my mind. If yes, and if the syntax for 3.0 will change anyway heavily, you may want to model these properties as arguments that are passed to a context upon instantiation, maybe something like:

\new Staff = "chant" [StaffSymbol #'line-count = #4] { \myMusic }

If the user tries to modify line-count at any other place than at context instantiation, lily could emit an error, saying that this property may only be initialized once at context instantiation.

However, if there are only very few such properties, then it's probably not at all worth introducing a new syntactical construct.

Greetings,
Juergen




reply via email to

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