Scripting Timer, Chain, and Export

We all have our ideas regarding recording! Share your experience.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
nodiseos
Posts: 2
Joined: Wed Aug 25, 2010 10:02 pm
Operating System: Please select

Scripting Timer, Chain, and Export

Post by nodiseos » Wed Aug 25, 2010 10:12 pm

I have a gajillion cassettes I am using Audacity to digitize. To make it a bit more hands-free, I was hoping there was a command line I could run that would accomplish the following:

- Do a Timer Record so audacity stops after 20 minuntes
- It applies a chain
- It exports an mp3 (Yes I have lame) to a specific directory using the name I pass as a parameter on the command line.

Any help HUGELY appreciated, and RTFMs welcome, though I looked around and did not find what I needed.

steve
Site Admin
Posts: 80751
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Scripting Timer, Chain, and Export

Post by steve » Wed Aug 25, 2010 10:50 pm

nodiseos wrote:though I looked around and did not find what I needed.
No you won't find it in the manual. Audacity is designed as a graphical application and it can do very little from the command line (basically just open a file).
One person on the forum has done quite a lot of customising of Audacity so that he can run unattended batch processes from the command line, but it involves rather in-depth modifications to the Audacity source code. You can read about it here: http://forum.audacityteam.org/viewtopic ... 15&t=38341

If you have some programming/scripting experience you may find it easier to use Sox http://sox.sourceforge.net/ which is a command line utility for processing sound.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

nodiseos
Posts: 2
Joined: Wed Aug 25, 2010 10:02 pm
Operating System: Please select

Re: Scripting Timer, Chain, and Export

Post by nodiseos » Thu Aug 26, 2010 4:48 pm

Thanks Steve.

Post Reply