Re: Automation editor parameter display type
Re: Automation editor parameter display type
- Subject: Re: Automation editor parameter display type
- From: "P. Grütter" <email@hidden>
- Date: Thu, 16 Apr 2009 09:54:40 +0200
Hi,
you can use kAudioUnitParameterUnit_CustomUnit for parameters with
custom properties and define
kAudioUnitProperty_ParameterStringFromValue and maybe
kAudioUnitProperty_ParameterValueFromString. You define an internal
parameter range (e. g. 0...1) for your parameter and convert the
internal value to the display value in GetProperty(). But notice that
some hosts (e. .g WaveBurner) don't support
kAudioUnitProperty_ParameterStringFromValue what means that the host
will always display the internal value in the generic view (or in the
automation window or on control surfaces).
Cheers, Paul
Hi,
this s a Logic bug, I've already filed a bug report.
OK, thanks. Is it a bug or just not implemented? None of the
displays types showed up as anything but linear for me (in the
automation window).
Even if Logic scaled the automation display in accordance with
DisplayType_Exponential/SquareRoot/Cubed etc it still wouldn't really
reflect the way my custom view works. I do all my mapping in the view
(isn't that what everyone does?) then just do a SetParameter etc. A
lot of the mappings are custom so a straight DisplayType_Exponential
doesn't match what I do although it will help a lot with automation
displays etc.
There is no way to specify that a parameter should be custom mapped
via passing some function or other I trust?
thanks,
Stephen.
Paul
Hello,
I was expecting automation editors to use the parameter display type
(eg kAudioUnitParameterFlag_DisplayExponential) to provide more
appropriate drawing facilities on a per parameter basis rather than
assume a linear scale. It seems this isn't so, in Logic at least.
Is
that a correct assumption? Anyone know any other hosts that take
this
into account? It is easier for me if they don't as I do all my
parameter mapping in the custom view and don't care much for a
generic
view.
Stephen
_______________________________________________
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