Created
August 25, 2017 08:19
-
-
Save RouquinBlanc/4099067870edaf477d10e65c3dfc422e to your computer and use it in GitHub Desktop.
rtl_sdr to baudline script for mac os
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 | |
if [[ $# -ne 3 ]]; then | |
echo "usage: rtl_baudline.sh <frequency> <samplerate> <gain>" | |
exit 1 | |
fi | |
FFT=$((${2}/1000000*2048)) | |
rtl_sdr -f $1 -s $2 -g $3 - | /Applications/baudline.app/Contents/Resources/baudline \ | |
-stdin \ | |
-quadrature \ | |
-record \ | |
-channels 2 \ | |
-flipcomplex \ | |
-format s8 \ | |
-overlap 100 \ | |
-memory 512 \ | |
-fftsize ${FFT} \ | |
-basefrequency $1 \ | |
-samplerate $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment