Auto record from the command line

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Locked
deleyd
Posts: 3
Joined: Thu Jan 17, 2008 7:41 pm
Operating System: Please select

Auto record from the command line

Post by deleyd » Mon May 25, 2009 4:36 am

Is there a command line parameter that means, "Startup and start recording now"?

I currently have a script that automatically starts Audacity at a preset time, waits 7 seconds, then sends "r" to start it recording. It always works when I test it, and usually works when it's time, but sometimes I find the Audacity window is up but it never started recording. I thought if there was a command parameter to tell it to start recording immediately it would be more reliable.

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Auto record from the command line

Post by kozikowski » Mon May 25, 2009 5:26 am

I suspect this is a cousin of the request that we could run Audacity from a network computer. Audacity is a very simple audio program and likes running on very simple computers. It's not designed to cope with command delay and shared action events. If all the moons and stars happen to line up, then you win. If the network or Windows decides to scratch its knee at the exact instant that Audacity is expecting the command, it fails.

Some of the other much higher power recording programs have specific hooks into the operating system's scheduler modules to do this job with much higher reliability. Audacity 1.3 also has much better built-in scheduling tools. I don't think 1.2 had any.

Before you get indignant about this shortfall, remember whatever the developers do has to work on the last several versions all three platforms, not just one version of Windows. You're working in Windows 7, right?

Koz

deleyd
Posts: 3
Joined: Thu Jan 17, 2008 7:41 pm
Operating System: Please select

Re: Auto record from the command line

Post by deleyd » Thu May 28, 2009 8:11 pm

kozikowski wrote:Audacity 1.3 also has much better built-in scheduling tools.
I didn't know 1.3 had scheduling tools. Is there any documentation on this?

I'm running Windows XP.

(I see there's a Beta 1.37 . I've been running Beta 1.34 . I'll download the latest.)

waxcylinder
Forum Staff
Posts: 14574
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Auto record from the command line

Post by waxcylinder » Fri May 29, 2009 10:50 am

deleyd wrote: I didn't know 1.3 had scheduling tools. Is there any documentation on this?
Not much - see this section for the manual in development for 1.4/2.0 (whichever it is to be called): http://www.audacityteam.org/manual/inde ... _Recording

The quickest way to invoke the timer is to use the k/b shortcut Shift+T

As I said the manual for the next release is under development - and writers are eagerly sought by the development team (my past experience managing developers shows that not many of them like writing manuals) - so if you have the time/ability/inclination you could consider volunteering ...

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

Locked