How can one use scripting or an API to automate Audacity?

Dear Audacity Power Users –

How can one use scripting or an API to automate Audacity?

Please advise.

I ask because I have a large number of multi-track recordings that I need to process.

I can do some programming in C# and other languages.

Can Audacity be automated for batch processing in this way?

What do you think?

Thanks.

– Mark Kamoski

There are several options.

The simplest, but more limited, is to use “Chains”: http://manual.audacityteam.org/o/man/chains_for_batch_processing_and_effects_automation.html

The most powerful, but most complicated and currently classed as “experimental” (with possible security concerns on a shared system) is to use mod-script-pipe: http://manual.audacityteam.org/o/man/scripting.html

Audacity could also be controlled with programs such as Autokey (https://code.google.com/p/autokey/) or AutoHotKey (Windows)