[ardour-dev] Fwd: [ardour-users] scripting region placement and import
Eric Dantan Rzewnicki
eric at zhevny.com
Mon Jan 17 07:54:04 PST 2005
Jesse Chappell wrote:
> Forwarded to ardour-dev from ardour-users.... Orm, this kind of technical
> exchange is better served in ardour-dev (where paul is subscribed)
> jlc
> ----- Forwarded Message -----
> Subject: [ardour-users] scripting region placement and import
> Date: Mon, 17 Jan 2005 13:27:37 +0100
> From: Orm Finnendahl <finnendahl at folkwang-hochschule.de>
> To: ardour-user-list <ardour-users-ardour.org at lists.ardour.org>
> Hi all,
> I'm looking for a way to automate the import and the placement of
> regions. I have to import some 200 regions and place them on different
> (known) tracks at specified (known) times. Doing that by hand is very
> time consuming (an "add-all-files-in-current-directory" button in the
> region import dialog for importing already would come in very handy
> but maybe I missed something like that).
> I checked the xml file and it gave me some hope to generate a file
> with all the regions at their proper places with a script, but even
> slight changes in the file seem to make it unreadable by ardour.
> Are there any chances to access the file format for this purpose?
I need this as well as this will be my main mode of using ardour. I
intend to use a python ECI (ecasound) script to select chunks of audio
from a large pool of audio files at random. I haven't set the parameters
yet, but expect I'll be grabbing anywhere from 1 to 100 chunks (I
guess that would be regions in ardourspeak) for each
composition/session. Once the files are selected I would like to add
them scriptomatically to a new ardour session. I don't need to place
them at specific times, though ... just at the beginning. It would be
nice to also be able to have them pre-grouped as well.
an "add-all-files-in-current-directory" button would be a good interm
solution, but ultimately I'm hoping for a scriptable solution outside
ardour so that I can start up ardour pointing at the newly created
session like: ardour foo-session/. I intend to at least try to develop
such a thing if all the metadata can be handled from python.
-ERic Rz.
More information about the Ardour-Dev
mailing list