John Mandereau <john.mander...@gmail.com> writes:

> 2012/8/27 Han-Wen Nienhuys <hanw...@gmail.com>:
>> Note that you can plug into the music event stream directly. That will
>> give you an overview of all events.
>
> This sounds a nice idea, but I don't know how to do this, I started
> (re)reading Erik Sandberg's thesis and then guess it'll be easy to dig
> out a starting point from current Lily code. BTW writing an exporter
> (be it to xml or other) would be a good excuse for starting
> documenting this in Extending manual.

I don't think "the music stream" actually exists.  Music expressions are
turned into stream events while iterating them in a given global
context, and you can try to listen to all events.  Things like the part
combiner do something like that.  But it is all a very dynamic
operation, and it happens with _every_ call of
ly:interpret-music-expression, and the actual conversion to stream
events depends very much on the global context this happens in
($defaultmidi is totally different from $defaultlayout, for example).

-- 
David Kastrup


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

Reply via email to