capture/record everything that goes to sound card (alsa) with SOX ???
2005-04-01 04:28:22 GMT
environment: --- Dell Latitude D600 running FC3 (2.6.9-Fred - stock kernel patched with alps touch pad driver) Upgraded my ALSA drivers/lib/oss/utils to latest - 1.0.8 Card: Intel 82801DB-ICH4 Chip: SigmaTel STAC9750/51 sox: Version 12.17.5 --- Before I recently upgraded alsa, from stock alsa that came with FC3 to 108 -- I used to route pretty much everyting (xmms, gaim sounds, gnome event sounds etc) thru ESD. I also would 'capture/record' some stuff via "esdmon | lame -x -m s - output.mp3" - basically that took whatever was sent to ESD and lamed it and stored it to a file (see script below if you are interested). Now I have ditched ESD and just routed most/all sound stuff thru alsa (with dmix) directly. But how do I capture the mixed stream like I did with esdmon? What device could I use for 'infile' on the sox command line? And no I'd like to avoid running esd, or jack or any other sound server. Here is the script if you are interested (this is the one using esd - note I commented out some stuff from an earlier rev of this script that just used OSS stuff & SOX - that had some problem that I don't recall). -------------- #!/bin/sh fname=`date +"interval-music-(Continue reading)