Documentation for ExtendScript ability to control Adobe Audition?
An old post in the Audition forum suggested this was a better place to ask programming questions related to ExtendScript and Adobe Audition.
I am exploring feasibility of a hobby project, but could not find Adobe Audition ExtendScript documentation online to see if the available APIs were available. (Checking feasibility before investing any serious time in it.)
Use case: I want to create an audio file using Google Cloud speech synthensis. It can generate "marks" which are time offsets in the audio file, so I know in the audio file where each word starts and ends. I then want to turn this into a song by specifying the desired pitch and length of each word. I can write a program that computes the current length, I know the pitch the clip was created with, so I want to apply computed pitch shift and duration stretch instructions in Audition. This will be computed different per word, not something I can do with "favorites".
I know it will sound a bit choppy. Another approach is to generate multiple audio clips at different pitches and speeds and write a program to chop up the different word clips and try joining them together. I am trying to work out if Adobe Audition is a good choice for this, or should I look for another program.
Is there any documentation (or can people provide a short sample code snippet) on the API? I assume I need to
- load file
- select time span of a sequence
- apply pitch shift by specified amount to the time span
- apply duration stretch/shrink (maintaining pitch) to the time span
- save file
I have written some simple (working) ExtendScript for Adobe After Effects, so I know the basics, but I could not work out how to see the Audition APIs. I used the docs at https://buildmedia.readthedocs.org/media/pdf/after-effects-scripting-guide/latest/after-effects-scripting-guide.pdf for After Effects, but I could not find docs there for Audition.
