New plug-in: Tone Generator

Share your Audacity/Nyquist plug-ins here, or test drive the latest plug-ins submitted by Audacity users.

After testing a plug-in from this forum, please post feedback for the plug-in author.

Re: New plug-in: Tone Generator

Permanent link to this post Posted by edgar-rft » Fri Oct 29, 2010 7:07 am

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

   //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

   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
Posts: 347
Joined: Sun Jan 20, 2008 12:03 am
Operating System: Please select

Re: New plug-in: Tone Generator

Permanent link to this post Posted by steve » Wed Aug 29, 2012 9:16 pm

Minor update to the plug-in. Mostly correcting typos in the help screens but also some bug fixes in the error checking code. No functional changes.

Updated description in the original post to indicate that it is more likely to be of interest to people that are interested in experimenting with Nyquist rather than for general production work.

edgar-rft wrote:Yes, it'a bug in the Audacity Nyquist interface (at least in Audacity_1.3.13-alpha

Rather late for me to comment, but this bug is now fixed (fixed a long time ago).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Site Admin
Posts: 46981
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu


Return to New Plug-Ins

Who is online

Users browsing this forum: No registered users and 1 guest