Try this on Scale of the Speaker layer:
Audio = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
minAudio = 0;
maxAudio = 25;
minScale= 85;
maxScale = 100;
s = linear(Audio,minAudio,maxAudio,minScale,maxScale);
[s,s]
Set maxAudio to whatever the highest reading is on Both Channels of the Audio Amplitude layer. Twirl down the Slider to see the graph. The scale of the speaker will fluctuate with the audio from a scale of 85% to a scale of 100%, change the 85 and 100 as needed.
Is dat close?
I dunno if I’m looking in the right spot, the speakers on the Robot, but some of them scale in only one dimension, so try this for the last line to get x only scaling, like on the robot’s knees:
[s,minScale]