Csound Csound-dev Csound-tekno Search About

[Csnd] [OT] using USB sound card

Date2011-06-15 18:25
Fromjpff@cs.bath.ac.uk
Subject[Csnd] [OT] using USB sound card
I have a real need to use an external USB sound system to get 4 or 8
channels from my laptop.  Hardware is Edirol UA-101.  Thelaptop can use
it, at least from Audacity it plays stereo.  But in csound I cannot werite
to it -- aplay -l says

card 1: UA101 [UA-101], device 0: UA-101 [UA-101]
  Subdevices: 1/1
  Subdevice #0: sbdevice #0

I have tried portaudio but that says expression failed in
src/hostapi/alsa/pa_linux_alsa.c line 1300 followed by similar messages

Using -+rtaudio=alsa it says "UNABLE TO SET REQUESTED SAMPLE FORMAT ON
SOUNDCARD"  (sorry in lowercase) but does not help what is wrong

I thought of using jack, but I have never used it and am not sure where to
start.  I ran qjackctl but no idea what to do next -- no output devices
shown that I can see; think it says it cannot start jackd

==John ff



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"

Date2011-06-15 18:31
FromMichael Gogins
SubjectRe: [Csnd] [OT] using USB sound card
Turn the gadget down to its dumbest level, i.e. turn off "advanced mode" and use sample rate of 48000 Hz. Then reboot everything. If that doesn't work there may be a bug in the Ubuntu audio code.

I think that Jack would have the same problems.

Hope this helps,
Mike

On Wed, Jun 15, 2011 at 1:25 PM, <jpff@cs.bath.ac.uk> wrote:
I have a real need to use an external USB sound system to get 4 or 8
channels from my laptop.  Hardware is Edirol UA-101.  Thelaptop can use
it, at least from Audacity it plays stereo.  But in csound I cannot werite
to it -- aplay -l says

card 1: UA101 [UA-101], device 0: UA-101 [UA-101]
 Subdevices: 1/1
 Subdevice #0: sbdevice #0

I have tried portaudio but that says expression failed in
src/hostapi/alsa/pa_linux_alsa.c line 1300 followed by similar messages

Using -+rtaudio=alsa it says "UNABLE TO SET REQUESTED SAMPLE FORMAT ON
SOUNDCARD"  (sorry in lowercase) but does not help what is wrong

I thought of using jack, but I have never used it and am not sure where to
start.  I ran qjackctl but no idea what to do next -- no output devices
shown that I can see; think it says it cannot start jackd

==John ff



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"




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2011-06-15 18:35
FromVictor Lazzarini
SubjectRe: [Csnd] [OT] using USB sound card
what are your csound options?

On 15 Jun 2011, at 18:25, jpff@cs.bath.ac.uk wrote:

> I have a real need to use an external USB sound system to get 4 or 8
> channels from my laptop.  Hardware is Edirol UA-101.  Thelaptop can  
> use
> it, at least from Audacity it plays stereo.  But in csound I cannot  
> werite
> to it -- aplay -l says
>
> card 1: UA101 [UA-101], device 0: UA-101 [UA-101]
>  Subdevices: 1/1
>  Subdevice #0: sbdevice #0
>
> I have tried portaudio but that says expression failed in
> src/hostapi/alsa/pa_linux_alsa.c line 1300 followed by similar  
> messages
>
> Using -+rtaudio=alsa it says "UNABLE TO SET REQUESTED SAMPLE FORMAT ON
> SOUNDCARD"  (sorry in lowercase) but does not help what is wrong
>
> I thought of using jack, but I have never used it and am not sure  
> where to
> start.  I ran qjackctl but no idea what to do next -- no output  
> devices
> shown that I can see; think it says it cannot start jackd
>
> ==John ff
>
>
>
> 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"
>

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





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"

Date2011-06-15 18:38
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] [OT] using USB sound card
> Turn the gadget down to its dumbest level, i.e. turn off "advanced mode"
> and
> use sample rate of 48000 Hz. Then reboot everything. If that doesn't work
> there may be a bug in the Ubuntu audio code.
>
> I think that Jack would have the same problems.
>


Thanks -- Seems to run with poprtaudio now -- not totaly sure which action
fixed it.

At least it is giving stereo -- quad test next

==John

PS Linux != Ubuntu; this is OpenSuSE11.4 without KDE or Gnome



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"