Csound Csound-dev Csound-tekno Search About

Re: [Csnd] emu0202 soundcard problem

Date2011-07-11 12:00
FromTarmo Johannes
SubjectRe: [Csnd] emu0202 soundcard problem
Can you get it work with jack or portaudio? Does sr=48000 make any change? Some linux drivers support just one sample rate and other software somehow might not be so specific about it.
Tarmojoachim heintz  kirjutas:>hi -
>i'm on ubuntu 10.10, having a problem with my emu0202 usb sound card,
>using the alsa drivers (1.0.23). it works without problems with pd and
>audacity, but csound says:
> *** Unable to set requested sample format on soundcard
>Failed to initialise real time audio input
>
>any idea what could be the reason? thanks -
>
>	joachim
>
>
>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"


Date2011-07-11 13:01
Fromjoachim heintz
SubjectRe: [Csnd] emu0202 soundcard problem
sr=48000 does not work either, nor does changing the bit depth.
it might be the point to go into jack. are there good information on the
jack homepage, or where can i start?
thanks -
	joachim


Am 11.07.2011 13:00, schrieb Tarmo Johannes:
> Can you get it work with jack or portaudio? Does sr=48000 make any change? Some linux drivers support just one sample rate and other software somehow might not be so specific about it.
> Tarmojoachim heintz  kirjutas:>hi -
>> i'm on ubuntu 10.10, having a problem with my emu0202 usb sound card,
>> using the alsa drivers (1.0.23). it works without problems with pd and
>> audacity, but csound says:
>> *** Unable to set requested sample format on soundcard
>> Failed to initialise real time audio input
>>
>> any idea what could be the reason? thanks -
>>
>> 	joachim
>>
>>
>> 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"
> 


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-07-11 13:06
FromRory Walsh
SubjectRe: [Csnd] emu0202 soundcard problem
Is there a hardware switch on the card for selecting sample rates? My
edirol card has an actual switch that I need to make sure is in the
correct position for it to work on Ubuntu. Perhaps the EMU card has a
similar feature?

On 11 July 2011 13:01, joachim heintz  wrote:
> sr=48000 does not work either, nor does changing the bit depth.
> it might be the point to go into jack. are there good information on the
> jack homepage, or where can i start?
> thanks -
>        joachim
>
>
> Am 11.07.2011 13:00, schrieb Tarmo Johannes:
>> Can you get it work with jack or portaudio? Does sr=48000 make any change? Some linux drivers support just one sample rate and other software somehow might not be so specific about it.
>> Tarmojoachim heintz  kirjutas:>hi -
>>> i'm on ubuntu 10.10, having a problem with my emu0202 usb sound card,
>>> using the alsa drivers (1.0.23). it works without problems with pd and
>>> audacity, but csound says:
>>> *** Unable to set requested sample format on soundcard
>>> Failed to initialise real time audio input
>>>
>>> any idea what could be the reason? thanks -
>>>
>>>      joachim
>>>
>>>
>>> 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"
>>
>
>
> 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"


Date2011-07-11 13:15
Fromjoachim heintz
SubjectRe: [Csnd] emu0202 soundcard problem
no, but i suspect it's another problem than the sample rate. it's just a
little bit odd that pd and audacity do not complain in any way.

Am 11.07.2011 14:06, schrieb Rory Walsh:
> Is there a hardware switch on the card for selecting sample rates? My
> edirol card has an actual switch that I need to make sure is in the
> correct position for it to work on Ubuntu. Perhaps the EMU card has a
> similar feature?
> 
> On 11 July 2011 13:01, joachim heintz  wrote:
>> sr=48000 does not work either, nor does changing the bit depth.
>> it might be the point to go into jack. are there good information on the
>> jack homepage, or where can i start?
>> thanks -
>>        joachim
>>
>>
>> Am 11.07.2011 13:00, schrieb Tarmo Johannes:
>>> Can you get it work with jack or portaudio? Does sr=48000 make any change? Some linux drivers support just one sample rate and other software somehow might not be so specific about it.
>>> Tarmojoachim heintz  kirjutas:>hi -
>>>> i'm on ubuntu 10.10, having a problem with my emu0202 usb sound card,
>>>> using the alsa drivers (1.0.23). it works without problems with pd and
>>>> audacity, but csound says:
>>>> *** Unable to set requested sample format on soundcard
>>>> Failed to initialise real time audio input
>>>>
>>>> any idea what could be the reason? thanks -
>>>>
>>>>      joachim
>>>>
>>>>
>>>> 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"
>>>
>>
>>
>> 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"
> 
> 


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-07-11 15:08
FromTarmo Johannes
SubjectRe: [Csnd] emu0202 soundcard problem
hi,

yes, then try to get jack work and you can make csound connect to  jack then.

if you don't have jackd installed already, you need to get jackd and qjackctl (frontend)

and if necessary (although maybe not in newer systems)
follow instructions for example on   https://help.ubuntu.com/community/Ubuntu%20Studio%20Upgrade%20from%20Ubuntu   :
- add the user to group audio 
- add lines to file /etc/security/limits.conf 

@audio - rtprio 99
@audio - nice -19
@audio - memlock unlimited

try to start jack with qjackctl, perhaps with you internal sound card at first to see if jack works and the the usb sound card.

I found from page http://www.alsa-project.org/main/index.php/Matrix:Vendor-Creative_Labs
that "E-MU 0202 USB   44/16 playback and recording works on Ubuntu 10.10 with ALSA 1.0.23"

so thre should be hope.

Or, try if you can configure the sound card to work with gengeric snd_usb_audio driver.

About PD and audacity - interesting how they comunicate with the sound card, do they use directly alsa or they have pulseaudio in between or something else? What are the settings in Audacity -> Prefernces that make it work?

Hopefully you will have luck!

tarmo



On Monday 11 July 2011 15:01:21 joachim heintz wrote:
> sr=48000 does not work either, nor does changing the bit depth.
> it might be the point to go into jack. are there good information on the
> jack homepage, or where can i start?
> thanks -
> 	joachim
> 
> 
> Am 11.07.2011 13:00, schrieb Tarmo Johannes:
> > Can you get it work with jack or portaudio? Does sr=48000 make any change? Some linux drivers support just one sample rate and other software somehow might not be so specific about it.
> > Tarmojoachim heintz  kirjutas:>hi -
> >> i'm on ubuntu 10.10, having a problem with my emu0202 usb sound card,
> >> using the alsa drivers (1.0.23). it works without problems with pd and
> >> audacity, but csound says:
> >> *** Unable to set requested sample format on soundcard
> >> Failed to initialise real time audio input
> >>
> >> any idea what could be the reason? thanks -
> >>
> >> 	joachim
> >>
> >>
> >> 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"
> > 
> 
> 
> 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"

Date2011-07-12 10:10
Fromjoachim heintz
SubjectRe: [Csnd] emu0202 soundcard problem
i got it working with alsa. the trick was to select the emu as default
device in the system preferences, and then simply call csound with -iadc
and -odac (without specifying the device). thanks to all for the tips; i
will check out jack later.
	joachim


Am 11.07.2011 16:08, schrieb Tarmo Johannes:
> hi,
> 
> yes, then try to get jack work and you can make csound connect to  jack then.
> 
> if you don't have jackd installed already, you need to get jackd and qjackctl (frontend)
> 
> and if necessary (although maybe not in newer systems)
> follow instructions for example on   https://help.ubuntu.com/community/Ubuntu%20Studio%20Upgrade%20from%20Ubuntu   :
> - add the user to group audio 
> - add lines to file /etc/security/limits.conf 
> 
> @audio - rtprio 99
> @audio - nice -19
> @audio - memlock unlimited
> 
> try to start jack with qjackctl, perhaps with you internal sound card at first to see if jack works and the the usb sound card.
> 
> I found from page http://www.alsa-project.org/main/index.php/Matrix:Vendor-Creative_Labs
> that "E-MU 0202 USB   44/16 playback and recording works on Ubuntu 10.10 with ALSA 1.0.23"
> 
> so thre should be hope.
> 
> Or, try if you can configure the sound card to work with gengeric snd_usb_audio driver.
> 
> About PD and audacity - interesting how they comunicate with the sound card, do they use directly alsa or they have pulseaudio in between or something else? What are the settings in Audacity -> Prefernces that make it work?
> 
> Hopefully you will have luck!
> 
> tarmo
> 
> 
> 
> On Monday 11 July 2011 15:01:21 joachim heintz wrote:
>> sr=48000 does not work either, nor does changing the bit depth.
>> it might be the point to go into jack. are there good information on the
>> jack homepage, or where can i start?
>> thanks -
>> 	joachim
>>
>>
>> Am 11.07.2011 13:00, schrieb Tarmo Johannes:
>>> Can you get it work with jack or portaudio? Does sr=48000 make any change? Some linux drivers support just one sample rate and other software somehow might not be so specific about it.
>>> Tarmojoachim heintz  kirjutas:>hi -
>>>> i'm on ubuntu 10.10, having a problem with my emu0202 usb sound card,
>>>> using the alsa drivers (1.0.23). it works without problems with pd and
>>>> audacity, but csound says:
>>>> *** Unable to set requested sample format on soundcard
>>>> Failed to initialise real time audio input
>>>>
>>>> any idea what could be the reason? thanks -
>>>>
>>>> 	joachim
>>>>
>>>>
>>>> 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"
>>>
>>
>>
>> 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"
> 
> 


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"