This question was prompted by File > Open versus File > Import > Audio
Please see this post (from May 29, 2020) in the topic “audacity command line access”
I am now in the “business” of bulk processing WAV files, taking in seventeen chapters of a book, each chapter having a “Start of Chapter nn” file and an “End of Chapter nn” file; say fifty one WAV files in all.
I have a computer! With a DOS command prompt.
Are there any more user command line parameters available besides the “audacity file1.aiff file2.wav file3.ogg” example, which includes -help, -version, -test, and -blocksize?
The example with the chain of files will do me for now, but I thought to explore the options while I am at it, and could “test” any newer options.
Thanks
Chris
Audacity has never had many command line options. Testing on my machine with Audacity 3.1.2 it seems that the only one that still works is passing a fully qualified file name as an argument (which is also the only one that I can find in the manual).
Audacity does now support scripting from external scripts (such as from Python, Perl, Bash,… or any language that supports “named pipes”)
I can load Audacity from a batch file (attached) but
(1) Audacity seems to hiccough when the second file name is not supplied and
(2) I see a brief flash of “Import” along the way, but my hopes are soon dashed
In my simple test to “Import” two files (then I could use that super end-to-end macro you inspired), the one use of the batch file imports the two files but into two separate projects (screen shot above). I had hoped that this would be my lucky day.
This is not a critical issue for me. I can manually load the three files for each chapter (“start”, “text”, “end”) and use that super-duper macro to assemble and [perhaps] export the file with the chapter number - AUTOMATICALLY! - (“Preferences, Recording, Track number”???)
Audacity does now support scripting from external scripts (such as from Python, Perl, Bash,… or any language that supports “named pipes”)
I can see what you are doing here; trying to get me out of the Windows Conferences and hive me off to the Nyquist Regions (grin).
I like to finish off with “Thanks Steve” sometimes a step doesn’t work, but it always moves me forwards.
Chris Audacity.txt (366 Bytes)