Re: Record 8 separate Line IN Channels from M-Audio Delta 1010 Card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK I finally got it working. The problem was that I mixed the dsnoop
for mulitiple access and the plug for channel assignment.

So here is my working setup to recort 8 channels in parallel:

hw:0,0 ---> capt ---> c1
                        ---> c2
                        ....

and here is my .asoundrc

pcm.capt {
        type dsnoop
        ipc_key 223456
        slave {
                pcm "hw:0,0"
                rate 8000
                period_time 0
                period_size 320
                channels 12
                format S32_LE
        }
}

pcm.c1 {
     type plug
     ttable.0.0 1
     slave.pcm capt
}

pcm.c2 {
     type plug
     ttable.0.1 1
     slave.pcm capt
}

pcm.c3 {
     type plug
     ttable.0.2 1
     slave.pcm capt
}

pcm.c4 {
     type plug
     ttable.0.3 1
     slave.pcm capt
}

pcm.c5 {
     type plug
     ttable.0.4 1
     slave.pcm capt
}

pcm.c6 {
     type plug
     ttable.0.5 1
     slave.pcm capt
}

pcm.c7 {
     type plug
     ttable.0.6 1
     slave.pcm capt
}

pcm.c8 {
     type plug
     ttable.0.7 1
     slave.pcm capt
}

Hope it helps someone in the future,

Peter

On Tue, Feb 22, 2011 at 12:08 PM, Peter Hoffmann <ph@xxxxxxxxxxxxxxxxxx> wrote:
> I'm one step further. I got the "Device or resource busy" error
> because I use the wrong slave.pcm in my .asoundrc:
>
> pcm.ice1712 {
>        type hw
>        card 0
>        device 0
> }
>
> # envy24 channel 1 only
> pcm.channel1 {
>        type plug
>        ttable.0.0 1
>        slave.pcm ice1712
> }
>
> The first definition is not necessary because there is already a
> default configuration in /usr/share/alsa/cards/ICE1724.conf  with
> dsnoop
>
> # default with dmix & dsnoop
> ICE1724.pcm.default {
>        @args [ CARD ]
>        @args.CARD {
>                type string
>        }
>        type asym
>        playback.pcm {
>                type plug
>                slave.pcm {
>                        @func concat
>                        strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
>                }
>        }
>        capture.pcm {
>                type plug
>                slave.pcm {
>                        @func concat
>                        strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
>                }
>        }
> }
>
> Now I changed my .asoundrc to
>
>
> # envy24 channel 1 only
> pcm.mono_channel1 {
>        type plug
>        ttable.0.0 1
>        slave.pcm "default:0"
> }
>
> # envy24 channel 2 only
> pcm.mono_channel2 {
>        type plug
>        ttable.0.1 1
>        slave.pcm "default:0"
> }
>
> and so on.
>
> But I still cannot record channels beside the first one. On the rest I
> a recording with no sound.
>
> Am I using the right ttable definitions?
>
> Thanks,
> Peter
>

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux