Page 1 of 1

Auto Start Recording from command line

Posted: Tue Sep 20, 2011 5:11 pm
by gellenb
Is there any way to start Audacity from the command line and have it start a recording session?
Something line "c:program filesaudacityaudacity.exe /record"
This way I can kick off a session for recording without having to worry about having someone go to the computer and click on the recording button to get it started. This way the recording would always be started, as long as the computer is on.

Re: Auto Start Recording from command line

Posted: Tue Sep 20, 2011 5:20 pm
by kozikowski
Audacity 1.3 has a timer function that allows unattended recording for one show. Audacity isn't big on command line controls.

Koz

Re: Auto Start Recording from command line

Posted: Tue Sep 20, 2011 5:44 pm
by steve
For command line recording (also playing, editing and other audio manipulations from the command line), see Sox.

Re: Auto Start Recording from command line

Posted: Tue Sep 20, 2011 6:10 pm
by Edgar
Adding code to start recording via CLI would be very simple but would probably need to also include a switch for length-of-time-to-record (with a useful default). You would probably also want to automatically Export the recording either as an audio (WAV, M4A etc.) and/or Project so that would be two additional optional switches for audio (fully qualified "location/name" and format) plus one for Project (fully qualified "location/name").