LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2020, 09:21 AM   #1
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Debian, Linux Mint, CentOS
Posts: 197

Rep: Reputation: Disabled
alsa conf for USB 24 channel Audio


Hi,

I got a cymatic audio uTrack24 recorder and I when I connect it to my linux it recognises it as an usb 24 ch sound card. The device records all 24 traccks into a singe multichannel wav file.
However I'd like to record to my laptop 24 channel in separate files.
So I think I need to edit an alsa conf file.

The application would be like this:

arecord -f cd -D pcm.mic1 -d 10 ch1.wav
arecord -f cd -D pcm.mic2 -d 10 ch2.wav
arecord -f cd -D pcm.mic3 -d 10 ch3.wav
...
arecord -f cd -D pcm.mic24 -d 10 ch24.wav


I dont know how to set up a proper conf file.

Code:
~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: uTRACK24 [uTRACK24], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: ALC3235 Analog [ALC3235 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I did this so far for the 1-4 channel. But when I record, there is no sound.

Code:
pcm.mixin {
        type dsnoop
        ipc_key 5978293
        ipc_key_add_uid yes
        slave {
                pcm "hw:0,0"
                channels 2
                period_size 1024
                buffer_size 4096
                rate 44100
                periods 0
                period_time 0
        }
        bindings {
                0 0
                0 1
        }
}



pcm.capt {
       type dsnoop
       ipc_key 223456
       slave {
               pcm "hw:1,0"
               rate 16000
               period_time 0
               period_size 320
               channels 8
               format S16_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
}
Could you please help me how should this be?

Last edited by kzo81; 11-27-2020 at 05:10 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] GK107 HDMI audio controller no stereo, both channel playon same channel, other has noises sdowney717 Linux - Hardware 3 09-27-2017 06:26 AM
[SOLVED] tzap ERROR: could not find channel <channel name> in channel list tonj Linux - Software 0 12-19-2015 07:45 PM
Converting 6 channel audio to 2 channel audio in a MKV file J_Humphrey Linux - Software 9 10-21-2013 04:27 AM
How to get 5.1 channel audio on back panel and all channel mixed stereo on headphone dr@shutosh Linux - Desktop 0 05-14-2012 02:31 PM
No front channel audio with Auzentech Forte on Alsa 1.0.22.1 gzunk Linux - Hardware 3 03-31-2010 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration