Recording without plughw channel mixing

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

 



Hello,

we use an M-Audio Fast Track USB device to record mono speech.
We face the problem that for mono recordings both input channels of the 
device are mixed together. But we want to record only the left channel, 
not the mix.

If I try to record mono from the hardware device I get an error:

arecord -D hw:CARD=Track,DEV=0 -f S16_LE -c1 -r44100 mono.wav
Recording WAVE 'mono.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
arecord: set_params:1087: Channels count non available

I think this is because it expects exactly two channels.

Using the plughw device it works:

arecord -D plughw:CARD=Track,DEV=0 -f S16_LE -c1 -r44100 mono.wav
Recording WAVE 'mono.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono

but the channels are mixed.

Configuration is standard Ubuntu 12.04.
The problem is the same using Pulseaudio, I guess this is because 
Pulseaudio uses the ALSA plughw devices as well.

Is there a way to disable the mixing of the channels?


Klaus

-- 
------------------------------------------
Klaus Jaensch
Muenchen
Germany

Institut fuer Phonetik und Sprachverarbeitung
Schellingstr.3/II
Room 223 VG
80799 München

Phone (Work): +49-(0)89-2180-2806
Fax:          +49-(0)89-2180-5790
EMail: klausj@xxxxxxxxxxxxxxxxxxxxxxxx


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
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