• 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
[core-audio] Parameter value strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [core-audio] Parameter value strings
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Reinstall Headers?
  • Next by Date: Re: [core-audio] Parameter value strings
  • Previous by thread: Re: Reinstall Headers?
  • Next by thread: Re: [core-audio] Parameter value strings
  • Index(es):
    • Date
    • Thread