Offline cli audio processes.
I am interested in applying off-line audio processes to audio region in a session, and or file in the region pool.
Perhaps this could be implemented something like this:
Preferences or setup file is modified to contain a list of available off-line process templates.
Each template could look something like this (drastic simplification, ideally xml with schema or some such):
name: Some Process
description: A process that does somthing
invoke: someprocess -opts -i=$$infile$$ -out=$$outfile$$
where: $$infile$$ and $$outfile$$ are placeholders for paths to temporary files that Ardour will create and then import. This specification could be extended to include parameters etc
User right clicks a region and can do myregion->offline process->choose process from list of templates. A simple interface built from the template is presented.
In the background Ardour does quick export of the region audio into a temporary file.
Ardour then invokes the cli command via the template in a new process.
Off-line process does its business and returns
Ardour does an import of the output file.
Because the process is essentially decoupled from Ardour there would be no dependency changes and minimal risk from off-line processes crashing. In my opinion this could open up some possibilities for integration with other tools.
Is anyone else interested?