Hi,
I installed nyquist today so that I can debug any plugins I write for Audacity.
It seems to function ok, it writes a username-temp.wav to /tmp which plays back fine, but there is no realtime playback.
I've searched elsewhere on the web but I can only find links to pastebin where people have pasted the same stuff, no solutions.
Here is the error:
Code:
g@moon:~$ ny
XLISP version 2.0, Copyright (c) 1986, by David Betz
CMU MIDI Toolkit, Copyright (c) 1993,1994, by Roger B. Dannenberg
; loading "/usr/share/nyquist/runtime/init.lsp"
Set *default-sf-dir* to "/tmp/" in fileio.lsp
AutoNorm feature is on.
Default sound file is g-temp.wav.
Nyquist -- A Language for Sound Synthesis and Composition
Copyright (c) 1991,1992,1995,2007-2011 by Roger B. Dannenberg
Version 3.05
> (play (osc 60))
Saving sound file to /tmp/g-temp.wav
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1968
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2646
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2767
warning: could not open audio, error -9997, Invalid sample rate.
total samples: 44100
AutoNorm: peak was 1,
peak after normalization was 0.9,
suggested normalization factor is 0.9
NIL
> (exit)
g@moon:~$
Some other possibly relevant details:
Code:
g@moon:~$ uname -r
3.2.54
g@moon:~$ cat /etc/asound.conf
pcm.onboard {
type hw
card 0
}
pcm.usb {
type hw
card 1
}
ctl.eq {
type equal
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
pcm.eq {
type equal
slave.pcm "plug:swmixer"
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
pcm.swmixer {
type dmix
ipc_key 1234
slave.pcm "hw:0,0"
}
pcm.!default {
type plug
slave.pcm "eq"
}
pcm.!dsp0 {
type plug
slave.pcm "hw:0,0"
}
Any help would be appreciated.
Thanks,
G