0
Engaged
,
/t5/after-effects-discussions/extendscript-set-volume-of-a-layer/td-p/11918599
Mar 22, 2021
Mar 22, 2021
Copy link to clipboard
Copied
Is it possible to set volume of a layer in ExtendScript? I was trying to use something like
layer.property("Audio").property("Audio Levels").setValue(1);
but that doesn't work.
TOPICS
Scripting
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Explorer
,
Mar 23, 2021
Mar 23, 2021
The Audio Levels value is probably a 2 element array, one for each channel (L+R).
Try this instead:
layer.property("Audio").property("Audio Levels").setValue([1,1]);
Explorer
,
/t5/after-effects-discussions/extendscript-set-volume-of-a-layer/m-p/11920873#M166302
Mar 23, 2021
Mar 23, 2021
Copy link to clipboard
Copied
The Audio Levels value is probably a 2 element array, one for each channel (L+R).
Try this instead:
layer.property("Audio").property("Audio Levels").setValue([1,1]);
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
hhhhhhhhhhhhhh5
AUTHOR
Engaged
,
LATEST
/t5/after-effects-discussions/extendscript-set-volume-of-a-layer/m-p/11923744#M166399
Mar 24, 2021
Mar 24, 2021
Copy link to clipboard
Copied
Yes. That worked. Thank you!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

