[Csnd] ALSA and -b weirdness
| Date | 2010-11-30 21:06 |
| From | "Art Hunkins" |
| Subject | [Csnd] ALSA and -b weirdness |
I've got the following CsOptions in a .csd:
-odac -+rtaudio=alsa -+rtmidi=alsa -M
hw:1,0 -m0d --expression-opt -b128 -B2048 -+raw_controller_mode=1
I'm running Sugar-on-a-Stick (Fedora/Linux). *On certain hardware only*
(particularly an Intel Classmate PC, but others as well) I get the following
error message in my log (crash):
ALSA: opened MIDI input device 'hw:1,0
orch now loaded
audio buffered in 128 sample-frame blocks
ALSA: -b 128 not allowed on this device; use 204 instead
*** Error setting period time for real-time audio
Failed to initialize real time audio output
All works fine on most systems. My SR = 44100 (stereo); Ksmps = 100. If I
change to SR = 48000 or SR = 32000, no problem. (BTW, changing to -b 204
doesn't work either; if I change to the recommended -b value, *at the third
or fourth recommendation* [each time it recommends a new value], it works.
Any idea what is happening?
Art Hunkins
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2010-11-30 21:17 |
| From | joachim heintz |
| Subject | [Csnd] Re: ALSA and -b weirdness |
what happens if you try ksmps=64 and -b 256?
Am 30.11.2010 um 22:06 schrieb Art Hunkins:
> I've got the following CsOptions in a .csd:
>
> -odac -+rtaudio=alsa -+rtmidi=alsa -M hw:1,0 -m0d --expression-opt -
> b128 -B2048 -+raw_controller_mode=1
>
> I'm running Sugar-on-a-Stick (Fedora/Linux). *On certain hardware
> only* (particularly an Intel Classmate PC, but others as well) I get
> the following error message in my log (crash):
>
> ALSA: opened MIDI input device 'hw:1,0
>
> orch now loaded
>
> audio buffered in 128 sample-frame blocks
>
> ALSA: -b 128 not allowed on this device; use 204 instead
>
> *** Error setting period time for real-time audio
>
> Failed to initialize real time audio output
>
>
>
> All works fine on most systems. My SR = 44100 (stereo); Ksmps = 100.
> If I change to SR = 48000 or SR = 32000, no problem. (BTW, changing
> to -b 204 doesn't work either; if I change to the recommended -b
> value, *at the third or fourth recommendation* [each time it
> recommends a new value], it works.
>
> Any idea what is happening?
>
> Art Hunkins
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"
>
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2010-11-30 22:15 |
| From | Rene Jopi |
| Subject | [Csnd] Re: Re: ALSA and -b weirdness |
Hi, I had the same problem on Ubuntu. In the file /urs/share/alsa/alsa.conf my dmix setting is 48000 samples/sec. So i have to use the following settings to avoid the errors you have:
dmix set to 48000, csd sr =48000, alsa audio output is -odac or dmix set to 44100, csd sr =44100, alsa audio output is -odac or dmix set to 48000, csd sr =44100, alsa audio output is -odac:plughw
This is on Ubuntu, hope this help. Cheers, René 2010/11/30 joachim heintz <jh@joachimheintz.de> what happens if you try ksmps=64 and -b 256? |