Similar to the normal Audacity “Tone…” generator, but with extended capabilities.
This plug-in is likely to be of more interest to anyone that is experimenting with Nyquist code than as a production" tool.
Includes presets for generating Sine waves, Triangle waves, Sawtooth waves, Square waves, White Noise and Silence.
May also be used to generate custom waveforms based on snippets of Nyquist code.
The Help menu includes examples of Nyquist code for generating custom tones.
Could someone check on Mac/Windows if the example code snippets can be copied/pasted from the Help screens into the plug-in.
[Update Aug 29 2012: Corrected a few typos in the help screens and corrected some bugs in the error checking code.] tone-generator.ny (5.61 KB)
It’s the same on Windows - can’t copy from the Help window, but …
what about putting the examples in the Debug window to copy and paste?
There’s not a lot of space, and you would have quotation marks around them, but it would be something.
No, not intentional, I think that may be a new bug in Audacity.
Once a plug-in has been run with debug it seems that it will run as debug each time until Audacity is restarted.
It’s not specific to this plug-in - it’s all Nyquist plug-ins. What do you think - bug or feature?
I think that rather than do a dirty hack, I’ll just include a text file to cater for inferior operating systems
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.