• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to deal with kAudioFormatMIDIStream format?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to deal with kAudioFormatMIDIStream format?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: OfflineRender and Render Quality
  • Next by Date: Re: sound input component
  • Previous by thread: Re: OfflineRender and Render Quality
  • Next by thread: Re: How to deal with kAudioFormatMIDIStream format?
  • Index(es):
    • Date
    • Thread