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 Rogers <email@hidden>
- Date: Thu, 7 Aug 2003 11:07:57 -0700
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.