lilypond-devel
[Top][All Lists]
Advanced

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

Re: music events vs stream events


From: Erik Sandberg
Subject: Re: music events vs stream events
Date: Mon, 29 May 2006 13:42:55 +0200

On 5/29/06, Han-Wen Nienhuys <address@hidden> wrote:
Erik Sandberg schreef:
> On 5/29/06, Han-Wen Nienhuys <address@hidden> wrote:
> Your example does however illustrate a different problem: There will
> have to be some kind of distinction between music functions that
> return music and stream events, respectively. One way could be to let
> the parser do event->music type conversion implicitly when needed (so
> it would be OK for music functions to return stream events where music
> is expected, but not the other way around).

I'm not sure if we can pull this off, but in that case we can simply
introduce another function type, i.e. event-functions.

Sounds good; go for it!

Good!

BTW, this will probably mean that the Stream_event class eventually
will be renamed to Event, since that name will be free (there will be
different kinds of Events, and those that are sent over music stream
will be called StreamEvents. Other event types include AnnounceEvents,
such as AnnounceNewContext, and possibly some events for grob
acknowledgement)

Erik




reply via email to

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