Copy link to clipboard
Copied
Is there any code to assign and control the output channels of the audio track through the Premiere API?
Hi Birdofparadise,
You've come to the right place.
Inside the Audio Channel Mapping Object, is a setMappingForChannel() method documented here:
https://ppro-scripting.docsforadobe.dev/other/audiochannelmapping.html#
and there is a sample for you to steal look at here:
I hope this helps. Let us know if you have more questions, and thanks for developing for Premiere Pro.
-Dan
Copy link to clipboard
Copied
Hi Birdofparadise,
You've come to the right place.
Inside the Audio Channel Mapping Object, is a setMappingForChannel() method documented here:
https://ppro-scripting.docsforadobe.dev/other/audiochannelmapping.html#
and there is a sample for you to steal look at here:
I hope this helps. Let us know if you have more questions, and thanks for developing for Premiere Pro.
-Dan
Copy link to clipboard
Copied
Thank you very much, Dan.
I'm not sure if the provided code is useful to me. Maybe I didn't express myself clearly enough.
What I would like to map is the output of each audio track in a sequence (Track Output Channel Assignment), not the interpretation of an audio clip located in a project bin (Modify -> Audio Channels).
My need is to optimize the mapping that I manually do from the "Windows -> Audio Track Mixer" window.
Is there an API to achieve this?