On Sun, Feb 15, 2009 at 5:33 AM, Trevor Daniels <[email protected]> wrote:
> Is there anyone who could help me understand this?
>
> Contexts in general die when they have nothing to do, but one Voice context
> within a Staff seems to live indefinitely, even when it has nothing to do.
> At first I thought the one selected to live was the first context encounted,
> but it's not that simple, as the examples below demonstrate.
>
> Why is this? Is this an accident of the implementation or is it an
> essential feature?
you are doing constructs of the form
{ %% !!
\new Voice = foo { .. }
\new Voice = bar { .. }
} %% end!!
The sequential marked !! has an iterator, and it will descend to the
lowest context automatically, but does not look into << >> constructs.
Effectively, in this example, this will keep "foo" alive until the end
of the seq music marked "end!!"
--
Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel