I'm using the latest version (3.05) on my Ubuntu GNU/Linux machine. My
Ubuntu version is 10.10 Maverick. I compiled it from the source by
applying the instructions given at
both with alsa and noalsa versions. It compiles and runs without major
problems but I cannot listen to the sound files in real-time, it gives
an error 'warning: could not open audio, error -9996, Invalid
Here's an example session from my terminal:
XLISP version 2.0, Copyright (c) 1986, by David Betz
CMU MIDI Toolkit, Copyright (c) 1993,1994, by Roger B. Dannenberg
; loading "/home/emre/Downloads/nyquist/runtime/init.lsp"
Set *default-sf-dir* to "/tmp/" in fileio.lsp
AutoNorm feature is on.
Default sound file is emre-temp.wav.
Nyquist -- A Language for Sound Synthesis and Composition
Copyright (c) 1991,1992,1995,2007-2011 by Roger B. Dannenberg
> (play (osc 60))
Saving sound file to /tmp/emre-temp.wav
warning: could not open audio, error -9996, Invalid device.
total samples: 44100
AutoNorm: peak was 1,
peak after normalization was 0.9,
suggested normalization factor is 0.9
And then I check for the file, it is created and I can play it. But
it'd be great if I could also listen to the sound immediately after
the play command. How can I get rid of 'warning: could not open audio,
error -9996, Invalid device.' ?