audioLev = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
minAmp = 0; //minimum audio amplititude
maxAmp = 50; //maximum audio amplitude (I recommend you to put here the highest value of audioLev)
maxScale = 150; //minimum scale
minScale = 70; //maximum scale
value + linear (audioLev, minAmp, maxAmp, minScale, maxScale)
You can also apply a fade out effect in the Scale property, to simulate the light diminishing according to the distance from the camera. The property will still be “keyframeable”.