• 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: Automation in audio unit not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Automation in audio unit not working


  • Subject: RE: Automation in audio unit not working
  • From: john smith <email@hidden>
  • Date: Wed, 16 Jan 2013 07:59:32 +0100
  • Importance: Normal


Thanks Dave. I am sure I'll figure it out now. Your help is much appreciated.


Best,

Michael


From: email@hidden
To: email@hidden
Date: Tue, 15 Jan 2013 12:49:41 +0000
Subject: RE: Automation in audio unit not working

Unfortunately it does have to be called from the AU component, not the view.

 

I tested the AU I'm working on both with and without the begin/end gesture events just now and it seems that automation can only be recorded (in Logic at least) if these events are being sent correctly.

 

Hope this helps

Dave

 

 

From: john smith [mailto:email@hidden]
Sent: Tuesday, January 15, 2013 10:01 AM
To: Muon Software Ltd - Dave; email@hidden
Subject: RE: Automation in audio unit not working

 

 

Nope, still no luck. My code now looks like this:

 

            CAAUParameter* ptrParameter = new CAAUParameter(GetComponentInstance(), iParameterIndex, kAudioUnitScope_Global, 0);

            AudioUnitEvent paramEvent;

            memset(&paramEvent, 0, sizeof(paramEvent));

            paramEvent.mArgument.mParameter = *ptrParameter;

            paramEvent.mEventType = kAudioUnitEvent_BeginParameterChangeGesture;

            AUEventListenerNotify(NULL, NULL, &paramEvent);

            paramEvent.mEventType = kAudioUnitEvent_ParameterValueChange;

            AUEventListenerNotify(NULL, NULL, &paramEvent);

            paramEvent.mEventType = kAudioUnitEvent_EndParameterChangeGesture;

            AUEventListenerNotify(NULL, NULL, &paramEvent);

            delete ptrParameter;

 

 

Again, all I can think of is I might need to call this from my (cocoa) view component. In which case I do not know how to get the component instance, so before I venture down that road I would love to know if that is necesary.

 

(I am of course aware I should not call begin and end gesture this often, but when something is not working I prefer to take baby steps in order to locate the problem).

 

 

 

Thanks,

 

Michael


_______________________________________________ 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
 _______________________________________________
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: 
 >Automation in audio unit not working (From: john smith <email@hidden>)
 >RE: Automation in audio unit not working (From: Muon Software Ltd - Dave <email@hidden>)
 >RE: Automation in audio unit not working (From: john smith <email@hidden>)
 >RE: Automation in audio unit not working (From: Muon Software Ltd - Dave <email@hidden>)
 >RE: Automation in audio unit not working (From: john smith <email@hidden>)
 >RE: Automation in audio unit not working (From: Muon Software Ltd - Dave <email@hidden>)

  • Prev by Date: Re: Bassless audio input (high pass filter?) - fixed by launching Jamup first! Why?
  • Next by Date: Recommendations for AEC on Mac OS X
  • Previous by thread: RE: Automation in audio unit not working
  • Next by thread: Stuttering in audio with VPIO
  • Index(es):
    • Date
    • Thread