Windows 10
Audacity 2.4.1 (and 2.3.1)
I am a retired C programmer, with no experience with LISP and Nyquist. To get started, I am trying to follow the simple examples on this page:
https://wiki.audacityteam.org/wiki/Nyquist_Basics:_The_Audacity_Nyquist_Prompt
First of all, there is some confusion about exactly where to find the Nyquist Prompt. It looks like it was once located under the Effect tab, but has been moved to the Tool tab. Yes? The link above talks about both locations and needs to be edited.
First example: I can get the (print “hello”) example to work. It displays in a window labeled “Nyquist Prompt”
Second example, an intentional error (print hello). When I press OK, nothing happens, and suddenly, I am looking at the regular Audacity display with my track(s) on it. If I press Debug, I immediately get a “Debug Output” window displaying: "error: unbound variable - HELLO if continued: try evaluating symbol again 1> " I never get any kind of Nyquist Prompt window showing any useful information.
Third example (sum s 1), intended to add a DC offset to my track. I select my track, go to tools> Nyquist Prompt. Enter (sum s 1), press Debug, and get a Nyquist Prompt window showing “Nyquist returned the value: 1.250000.” when I press “OK”, I get a blank Debug Output window. No change is made to my track. No DC offset. What the heck is 1.250000? S must evaluate to 0.25. Why?
I tried using “track” instead of “s”, but Nyquist clearly doesn’t like that.
I believe I followed the simple exercise exactly. I reinstalled the Audacity software, with the same results. If I can just get this stupidly simple tutorial to work, I believe I will be fine.
Please help.
Doug