multi channels input and single channel out
List,
I have 8 channels of hdmi input and one channel output on my board.
When arecord -f dat hdmi-rx.wav to store 8 channels data, aplay -f dat hdmi-rx.wav releases noise.
Ia there any way arecord stores each channel data to 8 different files? Or I have to do beam forming to sort 8 channels out by custom application?
Thanks.
---henry
Quoted 6 lines · hong zhang
List,
I have 8 channels of hdmi input and one channel output on my board.
When arecord -f dat hdmi-rx.wav to store 8 channels data, aplay -f dat hdmi-rx.wav releases noise.Ia there any way arecord stores each channel data to 8 different files?
check out the "--separate-channels" option for arecord. see if it meets your needs.
Quoted 9 lines
Or I have to do beam forming to sort 8 channels out by custom application?
Thanks.
---henry
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Signature · 1 line
guanqun
"--separate-channels" option only allows two files for two channels. Interesting thing is plughw:0,1 -c 1 works only for one pin input (two channels).
plughw:0,1 -c 1 complains overrun for 6 channels (3 input pins) input.
Quoted 34 lines · Lu Guanqun
From: Lu Guanqun <[email protected]>
Subject: Re: [alsa-devel] multi channels input and single channel out
To: "hong zhang" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thursday, May 5, 2011, 7:23 PMQuoted 3 lines · hong zhang
List,
I have 8 channels of hdmi input and one channel output
on my board.
Quoted 1 line
When arecord -f dat hdmi-rx.wav to store 8 channels
data, aplay -f dat hdmi-rx.wav releases noise.
Quoted 2 lines
Ia there any way arecord stores each channel data to 8
different files?
check out the "--separate-channels" option for arecord. see if it meets your needs.
Quoted 1 line
Or I have to do beam forming to sort 8 channels out by
custom application?
Quoted 8 lines
Thanks.
---henry
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develSignature · 1 line
guanqun
At Thu, 5 May 2011 17:31:06 -0700 (PDT),
Quoted 2 lines · hong zhang
"--separate-channels" option only allows two files for two channels.
No. You passed -fdat, right? "dat" format specifies 2 channels. Pass -c8 after -fdat.
Takashi
Quoted 45 lines
Interesting thing is plughw:0,1 -c 1 works only for one pin input (two channels).
plughw:0,1 -c 1 complains overrun for 6 channels (3 input pins) input.
Quoted 23 lines · Lu Guanqun
From: Lu Guanqun <[email protected]>
Subject: Re: [alsa-devel] multi channels input and single channel out
To: "hong zhang" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thursday, May 5, 2011, 7:23 PMQuoted 3 lines · hong zhang
List,
I have 8 channels of hdmi input and one channel output
on my board.
Quoted 1 line
When arecord -f dat hdmi-rx.wav to store 8 channels
data, aplay -f dat hdmi-rx.wav releases noise.
Quoted 2 lines
Ia there any way arecord stores each channel data to 8
different files?
check out the "--separate-channels" option for arecord. see if it meets your needs.
Quoted 1 line
Or I have to do beam forming to sort 8 channels out by
custom application?
Quoted 1 line
Quoted 11 lines
Quoted 7 lines
Thanks.
---henry
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develSignature · 1 line
guanqun_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Yes, you are right. But 6 files (3 pins) size is same 4096 see following.
$arecord -f S16_LE -r 48000 -c 6 -D plughw:0,1 --separate-channels c1.wav c2.wav c3.wav c4.wav c5.wav c6.wav Recording raw data 'c1.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Channels 6
$ll c*
-rw-r--r-- 1 root root 4096 2011-05-06 09:44 c1.wav -rw-r--r-- 1 root root 4096 2011-05-06 09:44 c2.wav -rw-r--r-- 1 root root 4096 2011-05-06 09:44 c3.wav -rw-r--r-- 1 root root 4096 2011-05-06 09:44 c4.wav -rw-r--r-- 1 root root 4096 2011-05-06 09:44 c5.wav -rw-r--r-- 1 root root 4096 2011-05-06 09:44 c6.wav
$aplay -f S16_LE -r 48000 -c 1 -D plughw:0,0 c1.wav
does not have sound.
Are my commands right?
Quoted 80 lines · Takashi Iwai
From: Takashi Iwai <[email protected]>
Subject: Re: [alsa-devel] multi channels input and single channel out
To: "hong zhang" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Lu Guanqun" <[email protected]>
Date: Friday, May 6, 2011, 12:51 AM
At Thu, 5 May 2011 17:31:06 -0700
(PDT),Quoted 2 lines · hong zhang
"--separate-channels" option only allows two files for
two channels.
No. You passed -fdat, right? "dat" format
specifies 2 channels.
Pass -c8 after -fdat.Takashi
Quoted 1 line
Interesting thing is plughw:0,1 -c 1 works only for
one pin input (two channels).
Quoted 2 lines
plughw:0,1 -c 1 complains overrun for 6 channels (3
input pins) input.
Quoted 2 lines
--- On Thu, 5/5/11, Lu Guanqun <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
From: Lu Guanqun <[email protected]>
Subject: Re: [alsa-devel] multi channels inputand single channel out
Quoted 2 lines
Quoted 2 lines
To: "hong zhang" <[email protected]>
Cc: "[email protected]"Quoted 6 lines
Quoted 6 lines
Date: Thursday, May 5, 2011, 7:23 PM
Quoted 3 lines · hong zhang
List,
I have 8 channels of hdmi input and one
channel output
Quoted 2 lines
Quoted 2 lines
on my board.
Quoted 1 line
When arecord -f dat hdmi-rx.wav to store 8
channels
Quoted 3 lines
Quoted 3 lines
data, aplay -f dat hdmi-rx.wav releases noise.
Quoted 2 lines
Ia there any way arecord stores each channel
data to 8
Quoted 3 lines
Quoted 3 lines
different files?
check out the "--separate-channels" option for
arecord.
Quoted 3 lines
Quoted 3 lines
see if it meets your needs.
Quoted 1 line
Or I have to do beam forming to sort 8
channels out by
Quoted 6 lines
Quoted 6 lines
custom application?
Quoted 5 lines
Thanks.
---henry
_______________________________________________
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 8 lines
Quoted 3 lines
Signature · 1 line
guanqun_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel