hi, I am trying to listen to a simple instrument using csound5gui
in real-time mode and I get an error message:
*** PortAudio: error: -9998: Invalid number of channels
Failed to initialize real time audio output
In the configure menu, I have output device set to dac
and buffer size set to default.
Does anyone know what the problem could be?
thanks



Hi, Check nchnls in the orc
Hi,
Check nchnls in the orc header. You probably have 1 channel (mono), but your soundcard through portaudio cant accept that.
Cheers,
Andrés
Hello
I got this error whilst using PortAudio (on it's own) with the "patest_wire" example.
I joined the PortAudio mailing list and asked about the problem.
I got an e-mail back from Ross Bencina saying that the problem could be due to the device not supporting stereo output.
I replied after trying the "patest_leftright" - which correctly played two different tone sine waves alternating between the left and right channel.
I got nothing back ... probably better to use something else instead.