New plug-in: Tone Generator
New plug-in: Tone Generator
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.
Thanks.
[Update Aug 29 2012: Corrected a few typos in the help screens and corrected some bugs in the error checking code.]
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.
Thanks.
[Update Aug 29 2012: Corrected a few typos in the help screens and corrected some bugs in the error checking code.]
- Attachments
-
- tone-generator.ny
- (5.61 KiB) Downloaded 656 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
billw58
- Forum Staff
- Posts: 5602
- Joined: Wed Aug 12, 2009 2:10 am
- Operating System: macOS 10.15 Catalina or later
Re: New plug-in: Tone Generator
Can't be done on Mac. Perhaps these will need to be in a separate code snippets text file?stevethefiddle wrote: Could someone check on Mac/Windows if the example code snippets can be copied/pasted from the Help screens into the plug-in.
-- Bill
-
billw58
- Forum Staff
- Posts: 5602
- Joined: Wed Aug 12, 2009 2:10 am
- Operating System: macOS 10.15 Catalina or later
Re: New plug-in: Tone Generator
A couple of other comments.
1) "Cutom Oscillator"?
2) Creates a track even if you choose to view help, then you're left with an empty track.
-- Bill
1) "Cutom Oscillator"?
2) Creates a track even if you choose to view help, then you're left with an empty track.
-- Bill
Re: New plug-in: Tone Generator
Where? Oh yes - updated.billw58 wrote:"Cutom Oscillator"?
Unfortunately that can't currently be avoided.billw58 wrote:Creates a track even if you choose to view help, then you're left with an empty track.
Personally I'd like to be able to display a help file and keep the plug-in open, then the plug-in could be run, using the created track.
That's a shame - Is the problem with copying the text rather than pasting the text?billw58 wrote:Can't be done on Mac. Perhaps these will need to be in a separate code snippets text file?
(Thought - I'd be happy to also include user-contributed snippets on an additional help page).
Thanks for testing.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
billw58
- Forum Staff
- Posts: 5602
- Joined: Wed Aug 12, 2009 2:10 am
- Operating System: macOS 10.15 Catalina or later
Re: New plug-in: Tone Generator
Can't copy text from the help window.stevethefiddle wrote:That's a shame - Is the problem with copying the text rather than pasting the text?billw58 wrote:Can't be done on Mac. Perhaps these will need to be in a separate code snippets text file?
(Thought - I'd be happy to also include user-contributed snippets on an additional help page).
-- Bill
Re: New plug-in: Tone Generator
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.
POL
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.
POL
Re: New plug-in: Tone Generator
Just a couple of comments:
1. Custom Oscilators
2. The Debug window appears every time the plug-in is run, irrespective of whether Debug is clicked or not. Is this intentional?
POL
1. Custom Oscilators
2. The Debug window appears every time the plug-in is run, irrespective of whether Debug is clicked or not. Is this intentional?
POL
Re: New plug-in: Tone Generator
Oh poo - I never said I could spell. (updated)Irish wrote:Custom Oscilators
No, not intentional, I think that may be a new bug in Audacity.Irish wrote:The Debug window appears every time the plug-in is run, irrespective of whether Debug is clicked or not. Is this intentional?
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 systemsIrish wrote: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?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: New plug-in: Tone Generator
Strange how I never noticed that until now!stevethefiddle wrote:Once a plug-in has been run with debug it seems that it will run as debug each time until Audacity is restarted.
I'd call it a bug. I don't want to have to click to get rid of the Debug window unless I looked for Debug output when running the plug-in.
POL
Re: New plug-in: Tone Generator
I think it's only 1.3.13Irish wrote: Strange how I never noticed that until now!
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)