Methinks you need a little Linear Interpolation.
If you used the pickwhip to setup you expression for the Audio Keyframes to drive the Frequency, you probably got an expression like this:
thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)
And the Frequency will be exactly what the Audio Amplitude Keyframe happens to be at that point in time.
Like Ultimate Bart said, you could put -10 at the end to subtract 10 from the A keyframes, or you could put *2 (times two) to double the values, or /2 to half the values, or you could use Linear Interpolation for max control. Something like this:
amount = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
linear(amount, 0, 25, 0, 15)
amount is equal to your original code. Then as the audio goes from 0 to 25, the frequency will go from 0 to 15 (or the same as Bart’s -10).
If the last line is:
linear(amount, 10, 15, 0, 15)
The audio will only kick in the frequency from 10 to 15 and spread that over the 0 to 15 range.
linear(amount, 0, 25, 0, 150)
Will crank it up by 10, just like adding *10 to your original expression.
For a more detailed expression that is the same as the first linear interpolation I gave you, and kindof explains itself, see this:
amount = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
minAudio = 0;//minimum for Audio Amplitude to kick in
maxAudio = 25; //maximum for audio Amplitude
minValue = 0; //minimum value you want for Frequency/Width/Thickness/etc
maxValue = 10; //maximum value you want for Frequency/Width/Thickness/etc
linear(amount,minAudio,maxAudio,minValue,maxValue)
There are also ease, easeIn and easeOut versions for interpolation.