diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-13 22:32:14 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-13 22:32:14 +0100 |
commit | 59c4f7fb0e2d0ca43ff2ea0dcb9671cc3fd69ba9 (patch) | |
tree | f9cbdde4fd0972bb23c789dd297bb41fa0062945 /encode-alsasrc-sox-mpeg.sh | |
parent | 3d352035ae5c17751d0a60e0aadf637f01c0bfd0 (diff) | |
download | mmbtools-aux-59c4f7fb0e2d0ca43ff2ea0dcb9671cc3fd69ba9.tar.gz mmbtools-aux-59c4f7fb0e2d0ca43ff2ea0dcb9671cc3fd69ba9.tar.bz2 mmbtools-aux-59c4f7fb0e2d0ca43ff2ea0dcb9671cc3fd69ba9.zip |
update encode scripts for renamed fdk-aac-dabplus encoders
Diffstat (limited to 'encode-alsasrc-sox-mpeg.sh')
-rwxr-xr-x | encode-alsasrc-sox-mpeg.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/encode-alsasrc-sox-mpeg.sh b/encode-alsasrc-sox-mpeg.sh index 3942ac1..3de71b5 100755 --- a/encode-alsasrc-sox-mpeg.sh +++ b/encode-alsasrc-sox-mpeg.sh @@ -3,6 +3,9 @@ # 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" @@ -15,6 +18,5 @@ then fi sox -t alsa $ALSASRC -b 16 -t raw - rate 48k channels 2 | \ - ../toolame/toolame \ - -s 48 -D 4 -b $BITRATE /dev/stdin $DST + toolame -s 48 -D 4 -b $BITRATE /dev/stdin $DST |