Re: AudioUnitSetParameter and Generic UI updates
Re: AudioUnitSetParameter and Generic UI updates
- Subject: Re: AudioUnitSetParameter and Generic UI updates
- From: William Stewart <email@hidden>
- Date: Wed, 7 Apr 2004 11:22:10 -0700
Frankly - The fact that these work is a bug...
Your responsibility as a host is to both set the parameter and tell any
listeners that the parameter's value has changed. As Marc said earlier,
that is the only way.
We've consistently maintained that it is *not* the AU's responsibility
here, but the hosts. If the AU is looking after this for you, it is
doing *too* much work and probably adding un-needed and unnecessary
overhead on the system.
If you have a bunch of parameter value changes to make, you don't have
to call AUParameterSet on each one, but can use the AU's parameter API
- then just do a general notification after you've set these.
Bill
On 07/04/2004, at 10:39 AM, Robert Grant wrote:
>
Found one (or some! :-))
>
>
The new T-Racks AU plugins exhibit the expected behavior.
>
>
Robert.
>
>
On Apr 7, 2004, at 12:33 PM, Robert Grant wrote:
>
>
> Hi Jeremy,
>
>
>
> I don't think so - I don't want to get involved in the listening side
>
> (well except when I'm establishing a link between an AU parameter and
>
> a MIDI CC). I just want to tell the AU to change a parameter (using
>
> AudioUnitSetParameter) and (if the AU's UI is open) for the change to
>
> be reflected in the UI.
>
>
>
> What I'm doing works for many MusicDevices such as buzZer, Claw, any
>
> of the LinPlug synths, etc. though there are some notable exceptions.
>
>
>
> Robert.
>
>
>
> On Apr 7, 2004, at 11:56 AM, Jeremy Sagan wrote:
>
>
>
>> Robert,
>
>>
>
>> I am not sure exactly what you are trying to do but it sounds like
>
>> you should be using AUParameterSet.
>
>>
>
>> Jeremy
>
>>
>
>> On Apr 7, 2004, at 11:36 AM, Robert Grant wrote:
>
>>
>
>>> A follow up...
>
>>>
>
>>> Now maybe my plugins are way out of date - but I can't find an
>
>>> effect UI - generic or otherwise - that updates itself based upon
>
>>> changes coming from AudioUnitSetParameter.
>
>>>
>
>>> Is there one around that I can test with?
>
>>>
>
>>> Thanks,
>
>>>
>
>>> Robert.
>
>>>
>
>>>
>
>>> On Apr 7, 2004, at 11:14 AM, Robert Grant wrote:
>
>>>
>
>>>> I just added MIDI remote control for Apple's effects using
>
>>>> AudioUnitSetParameter to change the values and to my surprise and
>
>>>> disappointment the UI does not update even though the AU
>
>>>> recognizes the changes and changes the DSP. I would have thought
>
>>>> the generic UI code would have been updated to post notifications
>
>>>> when this function is called? It makes automation/remote control a
>
>>>> lot more friendly.
>
>>>>
>
>>>> Thanks,
>
>>>>
>
>>>> Robert.
>
>>>> _______________________________________________
>
>>>> 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.
>
>> _______________________________________________
>
>> 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.
>
_______________________________________________
>
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
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.