On Sun, Feb 15, 2009 at 5:33 AM, Trevor Daniels <t.dani...@treda.co.uk> 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 - han...@xs4all.nl - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to