audacity-bridge
audacity-bridge copied to clipboard
A command-line interface for Audacity
About
audacity-bridge is a command-line interface for Audacity
with the mod-script-pipe module installed and enabled. Unlike
the mod-script-pipe module, which only creates two communication pipes at
Audacity startup, the audacity-bridge script also handles starting up and
shutting down Audacity, which makes it useful for incorporating Audacity into
batch scripts and make recipes.
The aupexport script converts AUdacity Project (AUP) files to
any audio file format understood by Audacity; it also showcases the use of the
audacity-bridge script.
Known Issues
- Although the
audacity-bridgescript operates without user intervention, it isn't headless – i.e. a running X server is still required on unices. - The
mod-script-pipeinterface is blind and therefore brittle. Suppose a modal dialogue pops up, when Audacity starts up (f.ex. an orphaned files warning). This dialogue prevents the project file from being loaded, but theaudacity-bridgeclient has limited means of detecting this. - While the Audacity splash screen is displayed, incoming messages are silently gobbled. This is handled by adding a fixed sleep at the beginning of the script, but this solution is brittle.
- Upon receiving the Exit MenuCommand, Audacity crashes at Linux. The
audacity-bridgescript handles this internally, so no action is required on the part of the user.
License
This script is released under GNU GPLv3.