Nyquist returns value... but why???

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
djblanch
Posts: 54
Joined: Fri Apr 19, 2013 10:51 pm
Operating System: Please select

Re: Nyquist returns value... but why???

Post by djblanch » Tue Sep 10, 2013 3:45 pm

Thanks for the responses. My computer is pretty stable overall. I have more crashes in Firefox than in anything else, but I usually have 20-30 tabs open at the same time, so that's not surprising! The problem with Audacity has persisted through several computer restarts. I do not (intentionally) use accented characters at all in file titles. Some have spaces (since I'm on a Mac, that's never been a problem since 1988!) but other than that I use only letters and numbers for files and folder names. I do use ƒ for folders -- could that be enough to cause Audacity not to be able to open files?

billw58
Forum Staff
Posts: 5565
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Nyquist returns value... but why???

Post by billw58 » Tue Sep 10, 2013 4:07 pm

djblanch wrote:I do not (intentionally) use accented characters at all in file titles. Some have spaces (since I'm on a Mac, that's never been a problem since 1988!) but other than that I use only letters and numbers for files and folder names. I do use ƒ for folders -- could that be enough to cause Audacity not to be able to open files?
Please see this message: http://forum.audacityteam.org/viewtopic ... 94#p222494

Gale has posted a patched version of Audacity that apparently fixes the "crash-on-import" issue. If you have the time please download and test it with various files.

Thanks.

-- Bill

steve
Site Admin
Posts: 80693
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Nyquist returns value... but why???

Post by steve » Tue Sep 10, 2013 7:30 pm

djblanch wrote:I was excited about the "Buzz Tone" option under the "Generate" menu. However, every time I've tried it, I've gotten an error message saying "Nyquest did not return audio"
"Buzz Tone" is not one of the standard effects shipped with Audacity, Where did that come from?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

djblanch
Posts: 54
Joined: Fri Apr 19, 2013 10:51 pm
Operating System: Please select

Re: Nyquist returns value... but why???

Post by djblanch » Tue Sep 10, 2013 8:27 pm

"Buzz Tone" is not an effect; it's under the "Generate" menu, along with "Chirp", "Noise", "Tone", "Risset Drum", etc. It came with Audacity 2.0.4. It is (according to the description at the Audacity page) a tone made up of a fundamental and it's overtones, with a nasal tone, depending on how many harmonics are selected.

billw58
Forum Staff
Posts: 5565
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Nyquist returns value... but why???

Post by billw58 » Tue Sep 10, 2013 8:46 pm

I can see no "Buzz Tone" under the Generate menu in a standard installation of 2.0.4.

The word "buzz" does not occur in the Audacity manual in reference to a Generator.

What "Audacity page" are you referring to? Where did you download Audacity from?

-- Bill

steve
Site Admin
Posts: 80693
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Nyquist returns value... but why???

Post by steve » Tue Sep 10, 2013 9:31 pm

That sounds like the Buzz tone generator that is available as an optional plug-in from here: http://wiki.audacityteam.org/wiki/Nyqui ... _generator
I've just checked the Audacity source code (http://code.google.com/p/audacity/sourc ... 2Fplug-ins) and buzz.ny is not included in the official release version of Audacity. :?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

djblanch
Posts: 54
Joined: Fri Apr 19, 2013 10:51 pm
Operating System: Please select

Re: Nyquist returns value... but why???

Post by djblanch » Tue Sep 10, 2013 9:41 pm

Whoops! Steve's right, I did download a few "extras" and put them in my plug-ins folder, allong with the rest of the .ny files. Still, if it's designed to produce a tone, why would Nyquist return an error of "...no audio"?

djblanch
Posts: 54
Joined: Fri Apr 19, 2013 10:51 pm
Operating System: Please select

Re: Nyquist returns value... but why???

Post by djblanch » Tue Sep 10, 2013 9:49 pm

I went back to my original (2.0.3) Audacity and tested the "Generate" menu. Everything worked except for these three, with corresponding error messages:

Click Track
Nyquist did not return audio.

Pluck
Nyquist returned the value: 0.000001

Risset Drum
Nyquist returned the value: 0.800000

Since I don't know anything about the "under the hood" working of Nyquist, I'm not sure what the significance of each of these it, or how to fix the problems. My appreciation to all of those of you out there who spend the time to help out!

Dave

steve
Site Admin
Posts: 80693
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Nyquist returns value... but why???

Post by steve » Tue Sep 10, 2013 10:00 pm

djblanch wrote:if it's designed to produce a tone, why would Nyquist return an error of "...no audio"?
I've just tested "Buzz tone generator" from http://wiki.audacityteam.org/wiki/Nyqui ... _generator
In Audacity 2.0.4, the default settings of "Buzz tone" generate 5 seconds of "buzz".
When using the debug button, the debug window is empty (as it should be).
djblanch wrote:What I got when I pressed Debug was "error: unbound function - MULT".
That is what is very strange, just as this was:
djblanch wrote:...I got another message: "error: unbound function - GET-DURATION".
"unbound function" means that the command is not defined. In one case the command is "MULT" and in the other the command is "GET-DURATION", but these command are defined as a standard part of Nyquist. For some reason your installation of 2.0.4 has part of Nyquist missing, just as your installation of 2.0.3 had part of Nyquist missing. How can this be happening? Are you sure that you are installing Audacity according to the instructions (http://audacityteam.org/download/mac)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

djblanch
Posts: 54
Joined: Fri Apr 19, 2013 10:51 pm
Operating System: Please select

Re: Nyquist returns value... but why???

Post by djblanch » Tue Sep 10, 2013 10:13 pm

It's pretty hard to screw up the installation instructions on a Mac:

"Installation instructions (.dmg files):

Double-click the downloaded .dmg to mount it
Then to install Audacity, copy the "Audacity" folder from the newly mounted .dmg to /Applications or any other location of your choosing."

Yup, that's what I did!

But now, another problem has snuck in: Since I downloaded and ran the revised version 2.0.4, I can no longer import sounds when I run 2.0.3! (Yes, I quit 2.0.4 first.) It must have revised the prefs somehow, or removed something important, or ????????? I'm not knocking progress, but I'm not seeing it, either. :0(

Dave

Post Reply