Copy link to clipboard
Copied
Hey there,
i am using the expression
x = thisComp.layer("Audio").effect("Both Channels")(1);
linear(x, 20,40, 0, 5)
the error i get is: "Error: effect named ´Both Channels´ is missing or does not exist. It may have been renamed, moved, deleted or the name may have been mistyped"
any ideas what the problem could be? What could be the replacement?
Copy link to clipboard
Copied
When you renamed your layer from "Audio Amplitude" to "Audio",
you might have left a space after the 'o' in "Audio "
Copy link to clipboard
Copied
hey, thanks for answering here as well.
No space that i could find, after effects just tells me that "Both Channels" is missing. (Deletet the ";" at the end of the first line, sadly didnt help)
Copy link to clipboard
Copied
Have you tried using the pick whip to get the correct path for the 'Both Channels' effect?
You should get into the habit of putting a ; at the end of each line/instruction,
it helps avoid problems.
Copy link to clipboard
Copied
Is your audio mono maybe? (In which case it wouldn't have a "Both Channels" slider).
Copy link to clipboard
Copied
Maybe your are using a non-english version of Ae and you need to replace "Both Channels" by the name shown in your UI?