Get audio mapping for each channel from clip with Extend Script. getAudioChannelMapping
Dear Adobe Community
I would like to use an ExtendScript to do audio channel mapping for multiple clips. However, I should be able to know the initial value before assigning the audio channels. In the documentation for "getAudioChannelMapping" I can't find a way to read the matrix of the mapping. Is there a way to do this. Maybe also in the future?
It would also be enough for me if there was an option to restore the default settings of the file.
A bit more detailed:
in the planned script first the audio type is evaluated and then based on "Stereo" or "Mono" decide what to do. But if a user runs the script again, previously changed audio settings will be misinterpreted and reassigned again. At the moment I try to save the original state of the clip by adding a metadate. However, I am still at the beginning with the understanding of reading and adding metadata.
Thank you very much for any help.
https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PPRO/Premiere.jsx#L987
https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/PPRO/Premiere.jsx#L2336
