Spectrum-Driven Color

Changes a layer's color between two hues based on audio amplitude.

Code

amp = thisComp.layer("Audio Amplitude")("Both Channels");
var clr1 = [1,0,0]; // red
var clr2 = [0,1,0]; // green
linear(amp, 0, 20, clr1, clr2);
audiocolorreactive

How to Use

Apply to Fill Color or Stroke Color. Adjust amplitude range 0-20 to match your track.