Re: AU MIDI events scheduled beyond next rendering slice
Re: AU MIDI events scheduled beyond next rendering slice
- Subject: Re: AU MIDI events scheduled beyond next rendering slice
- From: Philippe Wicker <email@hidden>
- Date: Wed, 6 Aug 2003 19:46:13 +0200
On Wednesday, August 6, 2003, at 06:04 PM, Marc Poirier wrote:
Urs' question about AU MIDI event scheduling reminded me of another
question that I've been meaning to ask:
A few weeks ago, I read a message from Urs on the osxaudio.com forums
saying that AU hosts could send MIDI events to AUs with frame offset
positions that are greater than the size of the next rendering slice.
So
in other words, some MIDI events might not actually be for the next
rendering slice but for some rendering slice beyond that one, and so
AUs
need to keep a "future events" queue for those. Urs said that Logic
does
this sometimes, for example.
Is this true? And is it considered acceptable for an AU host to do
this?
It would be interesting to know the type of event when this occurs.
Note events? Program change? Bank select? Could it make sense for some
kind of event?
My first reaction when reading this is that it shouldn't happen, at
least for events such as notes, controls changes that affect the note
rendering, ... IMO, the scheduling of midi is the host's job, not the
AU's. If, for some reason, it must be like this, then this raises more
questions: how long in the future, are they still sorted by time, how
many of these events, types of such events. Knowing the answers to
these questions would give hints to AUs developers about how they
should implement that "future events" queue.
Thanks,
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
Philippe Wicker
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.