• 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
Automation issues in Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automation issues in Logic


  • Subject: Automation issues in Logic
  • From: "B.J. Buchalter" <email@hidden>
  • Date: Wed, 03 Oct 2012 21:50:37 -0400

Hi Folks,

I am testing against Logic 9.1.7.

We have UI elements that control multiple parameters at a time (for example Gain and Frequency of an EQ band).

We are having problems with "Touch" automation.

We implement the "kAudioUnitEvent_BeginParameterChangeGesture" and "kAudioUnitEvent_EndParameterChangeGesture" via AUEventListenerNotify.

We implement parameter value updates using AUParameterSet, which also posts the kAudioUnitEvent_ParameterValueChange notifications.

A log of what we are doing looks like:

Touching 'egn2' ?= egn2
Touching 'efr2' ?= efr2
Setting val->4314.44 'efr2' ?= efr2
Setting val->-0.526316 'egn2' ?= egn2
...
Setting val->4159.14 'efr2' ?= efr2
Setting val->-1.05263 'egn2' ?= egn2
Releasing 'efr2' ?= efr2
Releasing 'egn2' ?= egn2

Logic records automation data for both parameters. But then when I do another touch pass, it acts as if the 'egn2' parameter was not Released (via kAudioUnitEvent_EndParameterChangeGesture) and just overwrites the automation data even if I don't click the control.

In addition, we also have an auto-enable mode, where the UI will also turn on the band-enable. This looks like:

Touching 'egn2' ?= egn2
Touching 'efr2' ?= efr2
Setting val->4314.44 'efr2' ?= efr2
Setting val->-0.526316 'egn2' ?= egn2
Touching 'ena2' ?= ena2					//< here we touch, set the value and release the touch for the enable parameter
Setting val->1 'ena2' ?= ena2
Releasing 'ena2' ?= ena2
...
Setting val->4159.14 'efr2' ?= efr2
Setting val->-1.05263 'egn2' ?= egn2
Releasing 'efr2' ?= efr2
Releasing 'egn2' ?= egn2

With this sequence, Logic stops recording automation data for the 'egn2' and 'efr2' after the 'ena2' parameter is touched and released.

It appears that things work as I expect when I only touch and release one parameter at a time.

What am I doing wrong? Or is this a bug in Logic?

Best regards,

B.J. Buchalter
Metric Halo
http://www.mhlabs.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

  • Follow-Ups:
    • Re: Automation issues in Logic
      • From: Blue Cat Audio Dev <email@hidden>
  • Prev by Date: Re: Changing Default Device and Sample Rate via Objective C
  • Next by Date: Re: Automation issues in Logic
  • Previous by thread: Re: IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????
  • Next by thread: Re: Automation issues in Logic
  • Index(es):
    • Date
    • Thread