I plan to use a Focusrite Scarlett 18i8 2nd Gen. and a Zotac ZBox Nano (fanless Core i3 @ 1.50GHz) to record 4 separate mono channels into 4 separate files and to stream them all separately on an Icecast 2 server (in OGG Vorbis format). I have to start and end the recordings at specific times (unattended, via cron).
At the moment I only record and stream one channel using console-only tools like this:
Code: Select all
nice -n -10 arecord -d $SECONDS -f S16_LE -r 44100 -c 1 -t raw - | \
oggenc -Q -r -B 16 -C 1 -R 44100 -b 48 -o - - | \
multitee 0-1,4 4>$AUDIO_DIR/$OGG_FILE | \
oggfwd $ICECAST_SERVER $ICECAST_PORT $ICECAST_PASSWORD /live.ogg
Thanks in advance!
Mathis