[Audacity-devel] Scripting for Opening/Saving projects and bug 137
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Michael C. <mc...@gm...> - 2011-11-07 17:40:38
|
I looked into scripting for this bug a while ago but ran into too many issues in the scripting engine and gave up. But since I haven't made much progress through other channels I went back to it and put together a patch that allows testing this bug via mod-script-pipe to open, save, and close projects. I won't check it in until stable unless there's a good reason to. Attached is the patch (you will need to add src/commands/OpenFileCommand.cpp and .h to the msvc project, but linux and mac are included). Also a perl .pl file to run the script. Currently the script just opens an already existing project and applies an amplify effect, saves, and closes the project, over x number of times. It is run like this on linux/mac: ./orphantest.pl /path/to/my.aup 1000 The bottom 30 lines of the script can be edited to change the type of effect, etc. This is a very basic test that looks like it would trigger some issues based on the reports. Unfortunately I've run it for two nights on three computers (ubuntu, 10.6 mac, and 10.4 ppc mac) without being able to reproduce the bug yet. I will get my windows partition working again to test there, and eventually add multi-project scripting to the test. Until then if anyone wants to try it please do and/or give feedback. Michael |