Hi, I’m opening a file using a Python script calling Import2. That works fine. However, after manually editing the file in Audacity, I want to export it but Audacity defaults to the last saved location.
Is there a way to tell Audacity, via scripting, the default directory for exporting a file?
Thank you. However, when I try Export2, I get a ‘success’ message (‘Exported to MP3 format: /tmp/testdata/isaout.mp3\nBatchCommand finished: OK\n’) but the file is corrupt:
$ audacious isaout.mp3
ERROR mpg123.cc:194 [DecodeState]: mpg123 error in file:///tmp/testdata/isaout.mp3: Error reading the stream. (code 18)
All that’s been done is the file loaded and immediately exported.