Comment #47 on issue 3560 by [email protected]: Completion_heads_engraver with \scaleDurations
http://code.google.com/p/lilypond/issues/detail?id=3560

A music function has no notion of the starting time.  You can do
{ r8 \scaleDuration ... }
In a somewhat better situation are music functions run at scorification time. But this kind of job (labelling music expressions with factors or whatever) would likely be best situated with an iterator: an iterator has an authoritive notion of timing and works on music expression rather than stream events. But iterators don't have scoped variables like contexts have, so you probably have to copy the whole content before labelling it and and iterating into it (iterators are not supposed to change music expressions).

But you'd still want to use an _engraver_ for the actual splitting itself since you often want to limit that kind of action to single contexts.

And then we get something that is nice as long as it works in its envisioned use case, and unmaintainably complex to handle for the user when it doesn't.

I don't see the point.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to