-
basic expression for audio question
Hi
Am Learning Expressions and have what’s likely to some out there a very basic-level q:I want an eps Icon to scale up and down in relation to multiple bell clangs on an audio file. I converted the audio to keyframe and linked the scale pikwip to the slider in the null/audioAmplitude layer.
temp = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
[temp, temp]this worked except that the volume (slider value) goes from about 11 to 23 and I want the icon to “pulse” from 100 to 240%. I checked out Ahron Rabinowitz’ tutorial on audio expressions and thought I would have it with this:
x = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
linear(x,10,20,100,240)but got an expression must be of dimension 2 not 1 warning.
I’m sure it’s something very simple but have tried a lot of variations I thought were logical.any help is good help
thanx