• 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: kAudioUnitProperty_ContextName - get track information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kAudioUnitProperty_ContextName - get track information


  • Subject: Re: kAudioUnitProperty_ContextName - get track information
  • From: Gary Jones <email@hidden>
  • Date: Mon, 17 Sep 2012 14:11:20 +0100

Yes, it appears Logic support is the main suspect on this.
reading from AudioUnitProperties.h it all sounds so streamlined and easy...

    @constant        kAudioUnitProperty_ContextName
                        Scope:            Global
                        Value Type:        CFString
                        Access:            read/write

The host can set this as information to the audio unit to describe something about the context within which the audio unit is instantiated. For instance, "track 3" could be set as the context, so that the audio unit's view could then display "My audio unit on track 3" as information to the user of the particular context for any audio unit.

it was also mentioned in this past post to the list, it appeared as if they (Logic) had it scheduled for support.
http://lists.apple.com/archives/coreaudio-api/2004/Jul/msg00268.html

I wonder what happened...

I've submitted a ticket on it.. but in the meantime, does anyone out there have any successful hacks to share ? to retrieve the track that the audiounit is placed..in Logic..

Best wishes   Gary

On 17/09/2012 10:14, Kieran Tyrrell wrote:
I've been playing with this recently, and my findings (someone else please correct me if I'm wrong) are that it's still poorly supported, ie, it doesn't seem to be supported at all in the latest version of Logic, AU Lab and Final Cut Pro X. I read somewhere that Ableton Live supports it but I haven't checked...

The AUBase classes seem to implement the property (in DispatchGetProperty/DispatchGetPropertyInfo), so if your AU is derived from AUBase and the host supports it, the context string should just magically appear in mContextName

Kieran.

On 16 Sep 2012, at 22:22, Gary Jones <email@hidden> wrote:

Hi all,

I am looking for a way to establish what track my audiounit is initialized within.. ie Logic ... track 3, slot 2 ..

It appears that the property kAudioUnitProperty_ContextName is where to look. But I am unsure on how to use it successfully.

Does anybody have any experience or knowledge to share on this, the only post I could find in the archives was from 2003 where it appeared to be unsupported.

Many Thanks

Gary
--
-------
_______________________________________________
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


--
-------
Digital Music Technology Ltd UK
cel : 07805 558 454
http://www.iximix.com

_______________________________________________
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

References: 
 >kAudioUnitProperty_ContextName - get track information (From: Gary Jones <email@hidden>)
 >Re: kAudioUnitProperty_ContextName - get track information (From: Kieran Tyrrell <email@hidden>)

  • Prev by Date: Re: kAudioUnitProperty_ContextName - get track information
  • Next by Date: Re: Collision between Cocoa classes for AU and VST plugins
  • Previous by thread: Re: kAudioUnitProperty_ContextName - get track information
  • Next by thread: Re: kAudioUnitProperty_ContextName - get track information
  • Index(es):
    • Date
    • Thread