Hi, I have 5-6 DOS (386/486) machines to replace with one or more linux machines to record audio [radio stations via analogue mic/line-in]. Currently one DOS machine records two stations (left/right channels), one hour into a ~33MB(!) file, with ADPCM compression using Creative SB card [with CSP chip] and it's "record" utility. I was able to set up asound with my sound card after some struggle, (C-Media 8738) but it currently creates 120MB files per hour, even with rate 11025. I know I could "postprocess" the files with sox or alike, but if it is not a big problem, I'd like to do it "on the fly". I saw that there is an "adpcm" option, but I wasn't able to get use of it. I would be glad if someone could help me out here - or recommend other similarly good solution. For extra fun, it would be good if I could record from the left/right channels separately (eg. two mono streams form the stereo input), I don't know if it is possible, I also couldn't make a config for it. My current/working .asoundrc as follows pcm.card_0-hw { type hw card 0 device 0 rate 11025 } pcm.card_0 { type dsnoop ipc_key 9000 slave.pcm "card_0-hw" } For extra info, my struggles combined - seemingly have two "capture" devices cat /proc/asound/pcm 00-02: CMI8738-MC6 : C-Media PCI IEC958 : playback 1 : capture 1 00-01: CMI8738-MC6 : C-Media PCI 2nd DAC : playback 1 00-00: CMI8738-MC6 : C-Media PCI DAC/ADC : playback 1 : capture 1 but not able to use 0:2 - which I [wrongly] suspected that that is line-in (If anyone knows why 0:2 is "capture" device and then "hangs" when trying to capture from it, then please let me know) - since not able to record from line-in, trying mic, but mic turns out to be limited to mono input by hardware [could I be correct here?] - then found - and set "Line Capture Route" setting to "on,on,on,on" (was: off,off,off,off) then able to record stereo stream from line-in finally [still not knowing what is the above setting's meaning] Thanks in advance, Gabor ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user