Re: [LAU] [darkice] (SOLVED & simplified) Re: Cant Get Creative E-MU USB audio interface to work

From: Ben Edwards <ben@email-addr-hidden>
Date: Fri Apr 01 2016 - 15:35:49 EEST

I think this is indeed the case. I was finding the cron run from root
worked also and the .asoundrc was in the pi user.

Makes it even simpler.

On 01/04/2016 13:12, Paul Davis wrote:
> I would state with almost absolute certainty that your .asoundrc file
> has no part to play here. The thing that made it work is telling
> darkice to use plughw:.... rather than hw:... which allows ALSA to
> fake the hardware setup that darkice says it wants. When you use
> hw:... you can only use hardware parameters that are directly
> supported by the hardware itself, which sometimes are not the ones you
> want/need to use.
>
> On Fri, Apr 1, 2016 at 6:24 AM, Ben Edwards <ben@email-addr-hidden
> <mailto:ben@email-addr-hidden>> wrote:
>
> OK, got it working, used .~/asoundrc
>
> pcm_slave.sl3 {
> pcm "plughw:1,0"
> channels 2
> rate 44100
> }
>
> pcm.complex_convert {
> type plug
> format S16_LE
> slave sl3
> }
>
> And the darkice.cfg input section is
>
> [input]
> device = plughw:1,0 # Alsa soundcard device for
> the audio input (barenger)
> sampleRate = 44100 # sample rate in Hz. try 11025,
> 22050 or 44100
> bitsPerSample = 16
> channel = 2 # channels. 1 = mono, 2 = stereo
>
> Ben
>
>
> On 01/04/2016 11:03, Niels Dettenbach wrote:
>> Am Freitag, 1. April 2016, 10:53:03 schrieb Ben Edwards:
>>> OK, just tried that
>> ...i've figured out that we have a few 24bit consumer interfaces (USB) too
>> running with darkice.
>>
>> so it *should* work...
>>
>> could you try pls:
>>
>> device = plughw:0
>> or
>> device = plughw:1
>>
>> instead?
>>
>> I had to use this instead of the
>> device = hw:0,0
>>
>> If that did not help, i would try to disable realtime for first until it is
>> working (just as a shot)...
>>
>> hth
>
> --
> *Ben Edwards, Video Editor/Colorist & Cameraman*
> w:www.funkytwig.com <http://www.funkytwig.com> t. 01179 118 144
> m.:07773 02 44 82
> skype:funkytwig twitter:@funkytwig
> PGP Public key available from pgp.mit.edu <http://pgp.mit.edu>
>
> If you are a freelancer FreeAgent is a great system to do your
> accounts,
> if you use http://www.freeagent.com/?referrer=42j4d743
> (referral code is 42j4d743) you get 10% off each month.
>
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> <mailto:Linux-audio-user@email-addr-hidden>
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>
>

-- 
*Ben Edwards, Video Editor/Colorist & Cameraman*
w:www.funkytwig.com t. 01179 118 144 m.:07773 02 44 82
skype:funkytwig twitter:@funkytwig
PGP Public key available from pgp.mit.edu
If you are a freelancer FreeAgent is a great system to do your accounts,
if you use http://www.freeagent.com/?referrer=42j4d743
(referral code is 42j4d743) you get 10% off each month.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Apr 1 16:15:03 2016

This archive was generated by hypermail 2.1.8 : Fri Apr 01 2016 - 16:15:03 EEST