Skip to main content
Participating Frequently
August 29, 2017
Answered

Create new wav file

  • August 29, 2017
  • 2 replies
  • 941 views

Hello guys,

Here is the situation. I have a CEP panel in AE with bunch of buttons, where each of them runs different functions of a .jsx script. One of these buttons is "Check AE", which checks if everything is correctly setup in AE for the other scripts to work properly. As part of this function I need to somehow create stretched versions of all .wav files I have in AE to 120%. I need physical .wav files for the other script to work. It cannot be another layer with 120% duration.

So I have created a new comp for each .wav in project with 120% duration and inserted the wav file there with 120% stretch. But when I add it to renderqueue, there is no default render template for .wav and with the setSettings() function, the format is not settable. I know I can create a new template for wav, but I need to run this script on a lot of computers without loading the template manually first. Is there a way i can load the template with script?

Second option I tried is to send these new comps to AME. Even though AME has a default .wav preset, it uses the last used preset and the change of the preset is not settable as far as I know. Is there a way how to set the default wav preset?

Another possible option i have thought of is that you can create scripts with extendscript for Audition. But i haven't worked with audition and couldn't even find any good guide for scripting and I am not even sure if I can run script for Audition from CEP panel in AE. Can I run it somehow? What would be the code for the script to import files to Audition, stretch them to 120% and saving them as wav in a different folder?

Is there some other way I could do this i didn't think of?

Thanks in advance for suggestions,

Martin

This topic has been closed for replies.
Correct answer Tomas Sinkunas

Your best bet here is to first check if custom Export WAV render preset exists. If not, open or import side-car AE project that has such preset set-up in render queue. Select that item in RQ and save preset as custom Export WAV preset and remove side-car project. Then apply render preset to all your render items.

And you have to do this only once per machine - render preset is saved after AE relaunch.

Let me know if you need help with this.

2 replies

Tomas Sinkunas
Legend
August 29, 2017

Well, it's not manual, its automated.

If your desired template is not available in AE, script would open/import template project, save template and be done. No manual work. Unless Im not following what you want to do.

Tomas Sinkunas
Tomas SinkunasCorrect answer
Legend
August 29, 2017

Your best bet here is to first check if custom Export WAV render preset exists. If not, open or import side-car AE project that has such preset set-up in render queue. Select that item in RQ and save preset as custom Export WAV preset and remove side-car project. Then apply render preset to all your render items.

And you have to do this only once per machine - render preset is saved after AE relaunch.

Let me know if you need help with this.

vigi42Author
Participating Frequently
August 29, 2017

Thanks Tomas for your reply. But as I said i know I can create a wav template and load it manually for each machine. But even though it is only once per machine I am trying to figure a way out so i dont need to do any manual work. But thanks anyway.

Tomas Sinkunas
Legend
August 29, 2017
Please download the attached file to view this post