lilypond-user
[Top][All Lists]
Advanced

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

Re: SPONSORSHIP OFFER: centering a context between two other contexts (f


From: Kieren MacMillan
Subject: Re: SPONSORSHIP OFFER: centering a context between two other contexts (followup)
Date: Fri, 27 Jun 2008 17:19:03 -0400

Hey all,

After thinking about it a bit, it seems to me that the current (*wicked awesome*, BTW) skyline coding could come to the rescue here... =)

IMO, the ultimate algorithm for a piano-with-centered-dynamics situation might be as follows:

1. At any given point requiring a dynamic/hairpin, the grob-box containing the dynamic/hairpin is inserted between the skylines of the two surrounding Staff contexts.

2a. If this insertion can be done without the dynamic/hairpin box touching either skyline, the two Staff contexts remain unaffected. 2b. If the dynamic/hairpin grob-box touches either skyline, the lower Staff context is pushed down until the grob-box no longer (or just barely) touches the skylines. [In other words, this context would be "super-skylined" or "flatline- able", with a minimum height of 0 where a Staff context has a minimum height of 4.]

3a. The dynamic/hairpin grob-box #'padding would be user-settable.
3b. There would also be a setting (default = ##f) which would force all dynamic grob-boxes within a single system to be aligned on the same vertical axis.

How difficult (read: expen$ive) would it be to add such a feature?

Thanks,
Kieren.




reply via email to

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