aboutsummaryrefslogtreecommitdiffstats
path: root/encode-alsasrc-sox-mpeg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'encode-alsasrc-sox-mpeg.sh')
-rwxr-xr-xencode-alsasrc-sox-mpeg.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/encode-alsasrc-sox-mpeg.sh b/encode-alsasrc-sox-mpeg.sh
deleted file mode 100755
index 3de71b5..0000000
--- a/encode-alsasrc-sox-mpeg.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-#
-# Read audio from ALSA input using sox, and encode with toolame,
-# send to ZMQ
-#
-# This needs toolame-dab from
-# https://github.com/Opendigitalradio/toolame-dab
-#
-BITRATE=$1
-DST=$2
-ALSASRC="default"
-
-if [ "$DST" == "" ]
-then
- echo "Usage:"
- echo " $0 <bitrate> <zmq destination>"
- exit 1
-fi
-
-sox -t alsa $ALSASRC -b 16 -t raw - rate 48k channels 2 | \
- toolame -s 48 -D 4 -b $BITRATE /dev/stdin $DST
-