• 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
Re: au midi/control output in panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: au midi/control output in panther


  • Subject: Re: au midi/control output in panther
  • From: William Stewart <email@hidden>
  • Date: Wed, 5 Nov 2003 20:37:03 +0100

We're looking at getting an example of this - but will need a bit of time...

It isn't sufficient just to set the midi type ID. You'll also need to set a sample rate so that (with the numFrames argument that is passed in with AudioUnitRender), the AU can translate/interpret the sample offset time stamps (which is how the time stamp in the MIDI Packets are to be formatted) into some real time value if needed... The same semantics as audio connections applies (ie. the format matches - in this case 'midi' AND the sample rate)...

I know this is scant information, we'll get something available soon=ish... Happy to answer questions if people are wanting to look at this and explore it before we get too of course

Bill

On 05/11/2003, at 6:20 PM, Chris Reed wrote:

if you look at the CoreAudio/CoreAudioTypes.h header file, you'll see the enum kAudioFormatMIDIStream just below the AudioStreamBasicDescription.

to send midi data out of an AU, create a bus that has the format ID of its stream format set to kAudioFormatMIDIStream. you then push MIDIPackeLists down the bus to send MIDI events.

similarly, for parameter value streams, there is the kAudioFormatParameterValueStream format ID. and for time code streams there is kAudioFormatTimeCode.

unfortunately, no hosts support any of these stream types yet, that i know of.

cheers
-chris

On Nov 5, 2003, at 12:07 AM, Matthew Johnson wrote:

I posted a while back regarding support for audio units that process and output midi or control signals. It was stated that this support was to be included in panther. I have looked through everything I can find and I don't see it. Am I missing something or did this functionality get moved to a future release?

Matthew
_______________________________________________
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.


-- mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
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.
  • Follow-Ups:
    • Re: au midi/control output in panther
      • From: Chris Reed <email@hidden>
References: 
 >au midi/control output in panther (From: Matthew Johnson <email@hidden>)
 >Re: au midi/control output in panther (From: Chris Reed <email@hidden>)

  • Prev by Date: Re: au midi/control output in panther
  • Next by Date: Re: HAL Device question
  • Previous by thread: Re: au midi/control output in panther
  • Next by thread: Re: au midi/control output in panther
  • Index(es):
    • Date
    • Thread