Nyquist Frequently Asked Questions (FAQ)

(Last update: 14 Jan 2013)

I can't get Nyquist functions to work on my PC, e.g. OSC is undefined.

I have tried to play existing files (some rather large) and have had the computer take an inordinate time to play the file. It started out ok and then got choppy and choppier and then very long delays til the file finally finished.


I can't get Nyquist functions to work on my PC, e.g. OSC is undefined.

See the Windows README file about installation, esp. the part about adding a search path to the registry. (There might be a more up-to-date version of this file in your installed nyquist/sys/win/README.txt.) This should not be a problem if you use the installer.


I have tried to play existing files (some rather large) and have had the computer take an inordinate time to play the file. It started out ok and then got choppy and choppier and then very long delays til the file finally finished.

If you load a large file, assign it to a variable, and then play it, the sound file will be converted to in-memory samples, and eventually your computer will spend a lot of time finding space for all those samples. Do not assign large sounds to variables. If you just call

         (play-file "filename")
or
         (play (s-read "filename"))
this should not happen. Also, if you are computing something and can't keep up, you can type
        (sound-off)
to turn off real-time playback, and then type:
        (r)
to hear the sound when computation is finished. You can call (r) anytime and as often as you wish after a computation has finished to (re)play what you just computed.
roger.dannenberg@cs.cmu.edu