How to deal with kAudioFormatMIDIStream format?
How to deal with kAudioFormatMIDIStream format?
- Subject: How to deal with kAudioFormatMIDIStream format?
- From: Pavol Markovic <email@hidden>
- Date: Tue, 1 Mar 2005 18:13:54 +0100
Hello,
I'd like to output MIDI data from AudioUnit to host or external device
using standard "plug-in way" without creating virtual destinations or
managing list of MIDI output destinations.
How can one deal with kAudioFormatMIDIStream format. I've found an
older Pre-Panther discussion on this topic -
http://lists.apple.com/archives/coreaudio-api/2003/Sep/msg00223.html -
but I'd like to find out more information. There is no mention on this
in AU Documentation, only definition in CoreAudio/CoreAudioTypes.h
header.
So my initial thoughts are that I:
1. create on one more output bus (audio outputs buses + 1) and set
kAudioFormatMIDIStream = 'midi' as format for it in constructor
2. set bus count read only
3. feed the output with MIDI data in Render call
Now, which hosts do currently support this?
I'm also curious in (kAudioFormatTimeCode = 'time'), how is this
supported and what is it's exact purpose.
Thanks in advance,
Pavol Markovic
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden