Csound Csound-dev Csound-tekno Search About

Re: [Csnd] problem with real time output in Csound5

Date2005-09-15 15:14
FromMichael Gogins
SubjectRe: [Csnd] problem with real time output in Csound5
Evidently you did not configure Csound5 with the alsa module. Run scons -h and see the configuration options.

Regards,
Mike

-----Original Message-----
From: Renick Bell 
Sent: Sep 15, 2005 10:06 AM
To: csound@lists.bath.ac.uk
Subject: [Csnd] problem with real time output in Csound5

I am currently having the following problem with Csound5. Trying to
output Toot1 with the command csound -+rtaudio=alsa -o dac:hw:0,0
gives me this error:

*** error: unknown rtaudio module: 'alsa'
Failed to initialise real time audio output

If I want to render to disk, there's no problem. I had no problems
building Csound5. In the terminal as it built, I read that it included
portaudio and alsa. My PortAudio is pa_snapshot_v19.tar.
bin/patest_sine worked fine. Alsaplayer works fine. I've edited
csoundrc as Istan Varga described Fri, 04 Mar 2005:

To enable use of the ALSA plugin, add this line to $HOME/.csoundrc:
   -+rtaudio=alsa

My Csound5 is from csound5-2005-08-27.zip. My alsa is 1.0.9b. My
kernel is 2.6.12-gentoo-r6. Am I making some other mistake? I'm not
sure myself how to further troubleshoot this. I've read in the
csound-devel archive that others (Steven Yi) got this to work. How do
I get it to work?

Renick

-- 
Renick Bell
http://www.the3rd2nd.com
--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk



-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-15 15:50
FromRenick Bell
SubjectRe: [Csnd] problem with real time output in Csound5
AttachmentsNone  

Date2005-09-15 16:31
FromSteven Yi
SubjectRe: [Csnd] problem with real time output in Csound5
AttachmentsNone  

Date2005-09-15 17:51
FromRenick Bell
SubjectRe: [Csnd] problem with real time output in Csound5
AttachmentsNone  

Date2005-09-15 18:07
FromIstvan Varga
SubjectRe: [Csnd] problem with real time output in Csound5
Renick Bell wrote:

> However, I still don't have audio. Now I have this error:
> 
>  *** Unable to set number of channels on soundcard
> Failed to initialise real time audio output
> inactive allocs returned to freespace

It is possible that you have the already reported problem with
the "dmix" device that is unfortunately the default in newer versions
of ALSA. Try using a device other than the default, for example
-o dac:hw:0 (the 0 is the card number).
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-15 23:07
FromSteven Yi
SubjectRe: [Csnd] problem with real time output in Csound5
AttachmentsNone  

Date2005-09-17 15:36
FromRenick Bell
SubjectRe: [Csnd] problem with real time output in Csound5
AttachmentsNone