Skip to main content
Inspiring
February 14, 2026
Question

Automation Blocks - Get Audio Tracks of Project Item

  • February 14, 2026
  • 1 reply
  • 0 views

Hi, ​@Mathias Moehl 

Is there a way I can script a ‘get audio tracks of project item’. It’s not a built in block, but I see the API has a get audio tracks code.

I’m still struggling with the custom-code block, but I’ll get there some day.

The goal here is to identify project items that have 10 channel audio (or don’t when they should).

    1 reply

    Mathias Moehl
    Community Expert
    Community Expert
    February 14, 2026

    audio channels are not implemented in the blocks, but you can access the channel mapping with the Execute Code block. I have sample code to set the channel mapping:
    https://docs.mamoworld.com/automation-blocks/block-reference/prOther#projectitem-audio-channel-mappings

    The Audio Channel Mapping is documented here:
    https://ppro-scripting.docsforadobe.dev/other/audiochannelmapping/?h=#audiochannelmappingaudiochannelstype

    Maybe 
    getAudioChannelMapping.audioChannelsType is what you need?


     

    Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects