Is it possible to run a script?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
happy37
Posts: 44
Joined: Fri Oct 23, 2009 7:49 am
Operating System: Windows 10

Is it possible to run a script?

Post by happy37 » Mon Oct 28, 2013 10:15 am

Hi everyone.

Good morning.

I am using Audacity 2.0.5 (the exe installer) in Windows XP to record DAB radio via the Line-In blue port on my PC with a 3.5mm to 3.5mm cable.

This all works perfectly though. The PC is brand new and only a few months old.

It's a Dual-Core G620 processor running at 2.6Ghz with 4GB RAM - Windows XP only sees 3.5GB.

My question is this.

Is it at all possible to run a script of some sort in Windows so that the PC can automatically start to record whatever is playing using Audacity at a set/given time and then stop recording at a set/given time?

Grateful for any advice as to whether this can be done or not.

Thanks.

Regards,

happy37

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

Re: Is it possible to run a script?

Post by waxcylinder » Mon Oct 28, 2013 12:12 pm

There is a Timer Record facility already built into Audacity - it is available from the Transport menu, it works well I use it a lot.

See this page in the manual: http://manual.audacityteam.org/o/man/timer_record.html

Unfortunately this is only a single-event timer right now - there is a long-standing Feature Request to make it a multi-event timer.

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

Robert J. H.
Posts: 3633
Joined: Thu May 31, 2012 8:33 am
Operating System: Windows 10

Re: Is it possible to run a script?

Post by Robert J. H. » Mon Oct 28, 2013 3:08 pm

Contact Edgar, he has made a command line version of Audacity that can be scheduled for this purpose.
See this topic:
http://forum.audacityteam.org/viewtopic ... 46&t=74727

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

Re: Is it possible to run a script?

Post by steve » Mon Oct 28, 2013 3:53 pm

You can also schedule any command line program with XP''s "scheduler" (see here: http://support.microsoft.com/kb/308569), so for example, you could record with SoX (http://sox.sourceforge.net/) or any other command line recorder.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Robert J. H.
Posts: 3633
Joined: Thu May 31, 2012 8:33 am
Operating System: Windows 10

Re: Is it possible to run a script?

Post by Robert J. H. » Mon Oct 28, 2013 4:39 pm

steve wrote:You can also schedule any command line program with XP''s "scheduler" (see here: http://support.microsoft.com/kb/308569), so for example, you could record with SoX (http://sox.sourceforge.net/) or any other command line recorder.
You actually will need this scheduler, Edgar's version gives only the possibility to record for a certain time, but not when the recording will be started. However, it provides automatic file names, such that the previous file won't be over-written.

happy37
Posts: 44
Joined: Fri Oct 23, 2009 7:49 am
Operating System: Windows 10

Re: Is it possible to run a script?

Post by happy37 » Mon Oct 28, 2013 8:01 pm

waxcylinder wrote:There is a Timer Record facility already built into Audacity - it is available from the Transport menu, it works well I use it a lot.

See this page in the manual: http://manual.audacityteam.org/o/man/timer_record.html

Unfortunately this is only a single-event timer right now - there is a long-standing Feature Request to make it a multi-event timer.

WC
Thanks WC and everyone.

I have tried to use that feature and it works fine.

On another note, how does the program AudRemote work?

I tried that earlier today, and it worked fine initially. When it came to making a scheduled recording, it recorded it fine, but did not stop at the scheduled time. I had to stop it myself.

Any ideas why?

All the help so far is much appreciated.

Regards,

happy37

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

Re: Is it possible to run a script?

Post by steve » Mon Oct 28, 2013 8:12 pm

happy37 wrote:On another note, how does the program AudRemote work?
I presume that you mean this: http://sourceforge.net/projects/audaremote/
That's not our product. You'll have to ask developer of that application.
It does not appear to have been updated since 2005 so there's no guarantee that it is supported by anyone and may not work with the current version of Audacity (assuming it ever worked - there are no reviews and only 7 downloads registered on Sourceforge).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

happy37
Posts: 44
Joined: Fri Oct 23, 2009 7:49 am
Operating System: Windows 10

Re: Is it possible to run a script?

Post by happy37 » Mon Oct 28, 2013 8:45 pm

Hi steve

Good evening.

Thanks for the prompt reply.

I have done some of my own tinkering with Audaremote and it seems to work well with Audacity 2.0.5 running under Windows XP.

The thing I have noticed is that if I minimise this application, it does not work.

If I run/dock it in the corner, all works well.

I will see if this one meets my needs as it saves automatically once the recording finishes.

Does Audacity 2.0.5 auto-save and shut down once a recording completes or not?

Thanks again.

happy37

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

Re: Is it possible to run a script?

Post by waxcylinder » Tue Oct 29, 2013 9:49 am

happy37 wrote:Does Audacity 2.0.5 auto-save and shut down once a recording completes or not?
No sorry, that's another one of the feature requests that I put in the proposal I wrote a while back - see: http://wiki.audacityteam.org/wiki/Propo ... provements

It's item 8 of the proposed features - and it's needed for item 7, the multi-event timer.

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

Post Reply