Created
August 19, 2013 13:25
-
-
Save Peetz0r/6269084 to your computer and use it in GitHub Desktop.
A bash script which connects Gqrx trough a fifo and sox to multimon-ng
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# first patch gqrx | |
# edit qtgui/dockaudio.cpp | |
# change: | |
# lastAudio = QDateTime::currentDateTime().toUTC().toString("gqrx-yyyyMMdd-hhmmss.'wav'"); | |
# into: | |
# lastAudio = QString("/tmp/gqrx"); | |
fifo_path='/tmp/gqrx' | |
rm $fifo_path | |
mkfifo $fifo_path | |
sox -r 48000 -t raw -b 16 -c 2 -e signed-integer $fifo_path -r 22050 -t raw -b 16 -c 1 -e signed-integer - | multimon-ng -t raw $@ -f alpha /dev/stdin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment