... record audio from the sound card, process it and stream it
OR
... record audio on one card, process and save. and use the other sound card for streaming (2 cards needed).
I've come to the conclusion that option 2 is the best route, and I've began to tailor my shell script towards that. But... I've run into a snag.
Here's the issue.
I can't find a way to specify the device for SoX to use when recording. Any Ideas?
rec -t wav -q - silence 1 1 10% -1 7 2% | lame -S --resample 11025 -b 24 $file_prefix-$date.mp3 & sleep 2 rec -t wav -q - | lame -S --resample 11025 -b 24 - - | ezstream -c /hamradio/scripts/stream.xml &

Sign In »
Register Now!
Help














