Skip to main content
Participant
May 16, 2024
Answered

AUDIO - Set track output channel assignments

  • May 16, 2024
  • 1 reply
  • 750 views

Is there any code to assign and control the output channels of the audio track through the Premiere API?

 

This topic has been closed for replies.
Correct answer Dan McSweeney

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:

https://github.com/Adobe-CEP/Samples/blob/9efca02ea88ad32a8c22571f5ffe2407ae732cd8/PProPanel/jsx/PPRO/Premiere.jsx#L2340

I hope this helps. Let us know if you have more questions, and thanks for developing for Premiere Pro.

-Dan

1 reply

Dan McSweeneyCorrect answer
Adobe Employee
May 17, 2024

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:

https://github.com/Adobe-CEP/Samples/blob/9efca02ea88ad32a8c22571f5ffe2407ae732cd8/PProPanel/jsx/PPRO/Premiere.jsx#L2340

I hope this helps. Let us know if you have more questions, and thanks for developing for Premiere Pro.

-Dan

Participant
May 17, 2024

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?