Re: What is the meaning of kAudioUnitParameterFlag_IsHighResolution ?
Re: What is the meaning of kAudioUnitParameterFlag_IsHighResolution ?
- Subject: Re: What is the meaning of kAudioUnitParameterFlag_IsHighResolution ?
- From: "Sophia Poirier [dfx]" <email@hidden>
- Date: Thu, 1 Nov 2007 15:53:31 -0400
On Nov 1, 2007, at 4:26 PM, Shai Shasag wrote:
On 31/10/2007, at 18:37, Kevin Dixon wrote:
What is the meaning of the AudioUnitParameterInfo flag
kAudioUnitParameterFlag_IsHighResolution?
It is not documented in the CoreAudio nor in the AudioUnits docs.
The
code (AudioUnitProparties.h) also does not have any comments about
I don't remember where I found it, but this flag means that the
parameter
cannot be adequately described in 8bits (eg 0-127) of resolution.
Mostly
applies to hardware HUIs for stuff like MIDI control.
-Kevin
Thanks, Kevin, but I need a more formal definition for the meaning of
this flag.
I'm developing AU plugins that need to work on all AU hosts. The
parameters of these plugins are in the 0-1000 range with Float32
resolution. With Logic I found that if I declare the paraemter's
unit kAudioUnitParameterUnit_Generic I get integer only resolution
from the Logic automation. i.e. if I record the value of 100.25, the
automation playback send me back 100.00. If I add the flag
kAudioUnitParameterFlag_IsHighResolution I get back correct values.
I'm not still no sure what happens on other hosts.
If I am reading this discussion correctly, does this mean the following:
If you use the IsHighResolution flag,
A) Logic's automation will work without rounding,
B) but Logic won't allow the parameter to be accessed by control
surfaces.
If you don't use the IsHighResolution flag,
A) Logic will allow the parameter to be accessed by control surfaces,
B) but Logic's automation will round fractional values.
So then what if you want both decent automatability AND control
surface support?
Sophia
_______________________________________________
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