1 person found this helpful
o.k but a warning: I am far from an expressions expert. here goes (hope this will translate nice for you!)
if you want to control the audio waveform amplitude you need to decide what is the low value for you and what is the high. you can do that with the graph editor. on the both channel parameter look at the value graph and decide what is for you the minimum and maximum.
for example my graph looks like this and I decide for myself for a threshold for the opacity
for example I want that if the value is higher than 4, my opacity will be 100%. and if it's lower - 0%
I need to select my opacity layer and create an if function expression on the opacity value that looks like this:
if(thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider")>4) 100 else 0
see if that works for you!
I want to only move those two points 0 and 100
Hey M how are you . I tried this so this on the opacity: Math.round(thisComp.layer("Audio Amplitude").effect("Both Channels")("Slider")/100)*100 after putting linear on the amplitude: linear(value, 0, 10, 0, 100) and it seems what math.round does is that if the value is above 50 it makes it 100 and if it's below it's 0. is that it? wouldn't my expression be more accurate to create the variables exactly that control when is the value 0 and when is 100 instead of the 50 threshold? also only one expression instead of two. what do you think?
No idea. The description is too vague to realyl make sense of it. Just let the user decide what suits his needs.