[PlanetCCRMA] Realtime audio using csound

Andres Cabrera andres@geminiflux.com
Tue Jan 18 04:00:02 2005

Hi all,
I'm trying to use csound with realtime output, but I always get the message:
Csound Version 4.23f03 (Nov 18 2003)
0dBFS level = 32767.0
orch now loaded
audio buffered in 441 sample-frame blocks
unable to open soundcard for audio output

I'm using the following flags:
-odac -B441 -b441 temp.orc temp.sco

instead of -odac I've also tried -odac0 through  -odac6 with the same 
All my sound cards work fine in all other applications.

Some info:
$ cat /proc/asound/cards
0 [M2x2           ]: USB-Audio - MidiSport 2x2
                     M-Audio MidiSport 2x2 at usb-00:1d.0-1, full speed
1 [Mona           ]: Echoaudio Mona - Mona
                     Mona rev.2 (DSP56361) at 0x20800000 irq 11
3 [VirMIDI        ]: VirMIDI - VirMIDI
                     Virtual MIDI Card 1

The only strange thing I've done is I've installed alsa-driver-1.0.7, 
built from source, to be able to use the Mona soundcard.

Does anyone know what csound does differently from other programs when 
accessing the sound system?