Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AUDIO - Set track output channel assignments

Community Beginner ,
May 16, 2024 May 16, 2024

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

 

Capture.PNG

TOPICS
Audio , SDK
656
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 17, 2024 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

Translate
Adobe Employee ,
May 17, 2024 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/PPR...

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

-Dan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 17, 2024 May 17, 2024
LATEST

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines