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: Chris Reed <email@hidden>
- Date: Thu, 7 Aug 2003 15:43:36 -0500
The possibility of this situation is something that has always irked me
about that note in the documentation--I'm glad it is being addressed
here.
Will the documentation will be updated? (To indicate that the host
should not make any assumptions about the NoteInstanceID)
-chris
On Thursday, Aug 7, 2003, at 13:07 US/Central, Chris Rogers wrote:
Philippe,
We've thought about this and agree with you, that in the general case
a synth may generate an arbitrary value for NoteInstanceID in order
to avoid these types of situations, and also allow multiple playing
notes on the same key within one group. This means a host should not
make an assumption that the NoteInstanceID is equal to the note number.
It just turns out that the DLSMusicDevice currently does make this
association...
Chris Rogers
Core Audio
Apple Computer
A solution could be that the AU returns a different NoteInstanceID
for each note ON and of course that the host do the necessary job to
associate the OFF event to the correct NoteInstanceID. Doing this
will break the convention stated in the AudioUnits documentation
(section MusicDeviceStartNote) which says that if the note value is
an integral value, then the note ID will be that integer. Maybe the
rule should be "the AU will return a randomly created uniqueID" which
is the convention to apply when the note value is a non integral
float value.
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.
_______________________________________________
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.