Render audio item to disk
I have several audio items on a track. They may or may not be modified(I think just bounds are changed for some, not playrate or pitch... or possibly just not playrate).
I need to export the correct output, essentially what is played back. Hence, I can't use the source file because I am not 100% sure that it is identical to what is played back.
Ideally I'd like a function such as
RenderItemToFile(item)
which renders the media item as it would be heard if one simply pushed play and listened(any fades, stretches, etc) will be rendered.
I need to automate all of this process. No popups. It should be fast too.
I could also simply render a track's output between two ranges, etc.
There are multiple options but I don't see any that will render to a file. Standard rendering to stems produces a new item on a new track. While I could get it to work, it's a lot of extra steps.
There is a Save item as audio file SWS action, but I don't know if that picks up all the changes and, unfortunately, it creates a dialog box which prevents me from using it in automation. Some tests show it does seem to render the audio item properly though.
If I could call it as a function and pass it the file name then it might work.
Any ideas?
Last edited by Airal; 06-11-2017 at 07:05 PM.
|