[core-audio] Parameter value strings
[core-audio] Parameter value strings
- Subject: [core-audio] Parameter value strings
- From: Peter Bakker <email@hidden>
- Date: Tue, 14 Jun 2005 16:12:43 +0200
Hi,
I'm implementing automation in our AU's, seems to work smoothly with
one gotcha.
Some of the parameters use a non-linear mapping from knob or ramp
value to parameter value, to provide as much resolution where it's
needed.
So I publish a parameter to the host with a normalized range, say -1.
to 1. Now, if I don't specify a value string for each and every
possible parameter value the host will display something from -1 dB
to 1 dB, where the actual value is -144 to 24.
Isn't it a better idea to ask the AU for the string representation of
a parameter when it's needed ? In that way I can map a normalized
value to a valid parameter value, giving the an automation ramp the
same feature as the UI knob: resolution where it's needed.
I could, of course, provided thousands of value strings for every
possible float value of the parameter, but that seems not just a
little bit redundant.
Yours,
Peter Bakker
Audio Ease
_______________________________________________
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