Sending MIDI from AU Render
Sending MIDI from AU Render
- Subject: Sending MIDI from AU Render
- From: Patrick Gostovic <email@hidden>
- Date: Wed, 26 Nov 2003 00:34:50 -0500
Hi.
I am making an Audio Unit host app and to support it, I am creating
several "utility" AU's. In some of these AU's I am streaming
MIDIPacketList's to other AU's (a la kAudioFormatMIDIStream) and I find
myself wanting to send these MIDIPacketList's (using the MIDISend
function) from within my AU's Render method to other AU's (i.e. Music
Device AU's). The MIDI streaming seems to be working fine but when I
send note on's and note off's to a Music Device AU, something gets
stuck -- not as in a "stuck note", but more like a stuck audio buffer
-- if that makes any sense. So, my question is this -- is it possible
to send MIDI from the AU Render method? I imagine there might be some
kind of threading considerations, but I am fairly new to C and C++ and
have no clue what these considerations might be. I would appreciate
any nudge in the right direction.
Thanks
Patrick
_______________________________________________
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.