user14021: I want to make a speaker graphic 'wobble' to different frequencies..
Here's what I've done so far
I made a speaker graphic in a comp
And I parented the scale to a null in the main comp

And I isolated the kick drum with a combo of a band pass filter and a bass-treble.
Then I converted that audio into keyframes and pick whipped that null with that speaker's scale parented to it.

So here's where I'm stuck at:
I want to limit the speaker's scale within some values. Like the speaker should not exceed 75.8% and 76% of scale.
So what I tried so far is something like this ↓
temp = thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider");
[temp, temp]  +[Math.min(73.8-2), Math.min(73.8-2)] [Math.max(23), Math.max(23)]

user4426: You need to do a linear map as an Expression.
So the example below would take any value between 0-100 and map it between -100 to 100.
input = effect("Slider Control")("Slider");
inputLow = 0;
inputHigh = 100;
outputLow = -100;
outputHigh = 100;

linear(input,inputLow,inputHigh,outputLow,outputHigh)


14021: <p>I want to make a speaker graphic 'wobble' to different frequencies..<br />
Here's what I've done so far</p>
<p>I made a speaker graphic in a comp
And I parented the scale to a null in the main comp</p>
<p><a href="https://i.stack.imgur.com/3G8kr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3G8kr.png" alt="enter image description here" /></a></p>
<p>And I <em>isolated</em> the kick drum with a combo of a band pass filter and a bass-treble.
Then I converted that audio into keyframes and pick whipped that null with that speaker's scale parented to it.</p>
<p><a href="https://i.stack.imgur.com/i9nVm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i9nVm.png" alt="enter image description here" /></a></p>
<p>So here's where I'm stuck at:<br />
I want to <strong>limit</strong> the speaker's scale within some values. Like the speaker should not exceed 75.8% and 76% of scale.</p>
<p>So what I tried so far is something like this ↓<br />
temp = thisComp.layer(&quot;Audio Amplitude&quot;).effect(&quot;Both Channels&quot;)(&quot;Slider&quot;);
[temp, temp]  +[Math.min(73.8-2), Math.min(73.8-2)] [Math.max(23), Math.max(23)]</p>
 4426: <p>You need to do a linear map as an Expression.
So the example below would take any value between 0-100 and map it between -100 to 100.</p>
<pre><code>input = effect(&quot;Slider Control&quot;)(&quot;Slider&quot;);
inputLow = 0;
inputHigh = 100;
outputLow = -100;
outputHigh = 100;

linear(input,inputLow,inputHigh,outputLow,outputHigh)
</code></pre>
