use of Audacity from command line

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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
ManishSharmaIndia
Posts: 2
Joined: Tue Mar 25, 2014 12:41 pm
Operating System: Please select

use of Audacity from command line

Post by ManishSharmaIndia » Tue Mar 25, 2014 12:50 pm

Hi Team,

I want to use Audacity feature from command line instead of using GUI. Is there any way to use this from command line(just line Sox command) so i can automate some of my process.

Pls help

Thanks

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

Re: use of Audacity from command line

Post by steve » Tue Mar 25, 2014 1:10 pm

Command line functionality in the shipped version of Audacity is extremely limited.

The only current command-line functions are that you can open audio files or Audacity project files (including multiple files) by passing them as arguments, for example:

Code: Select all

$  audacity file1.aiff file2.wav file3.ogg 
The following options are also supported:

-help
display a brief list of command line options.

-version
display the Audacity version number.

-test
run "Benchmark" diagnostics tests.

-blocksize
set the Audacity blocksize for writing files to disk of nnn bytes.


Some actions may be partly automated by using "Chains": http://manual.audacityteam.org/o/man/ch ... ation.html

Additional automation may be available by using a third party application such as "AutoKey".

If you build Audacity from the source code there is experimental scripting support that can be enabled: http://manual.audacityteam.org/o/man/scripting.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply