Irish wrote:The Debug window appears every time the plug-in is run, irrespective of whether Debug is clicked or not. Is this intentional?
stevethefiddle wrote:No, not intentional, I think that may be a new bug in Audacity.
Yes, it'a bug in the Audacity Nyquist interface (at least in Audacity_1.3.13-alpha). It doesn't only appear with the "Tone Generator" but with all Nyquist plugins (generate, effect, analyze).
In the file "src/effects/nyquist/Nyquist.cpp" [same file as usual] at the end of the function "Process()" around line 610, you'll find the following code fragment:
- Code: Select all
this->ReplaceProcessedTracks(success);
//mDebug = false; // <- uncomment this line
return success;
} // <- end of function Process()
Remove the "//" before "mDebug = false;" and make the code look like this:
- Code: Select all
this->ReplaceProcessedTracks(success);
mDebug = false;
return success;
}
Then re-compile Audacity. Now the debug window only appears if you press "Debug", and not with "OK" any longer. I still haven't tested if this has unwanted side-effects with the ";debugflags" plugin header line or the Nyquist Workbench.
I first will search for the unicode filename problems later on before I send a patch to the Audacity developers list.
- edgar
