21 lines
610 B
Bash
Executable File
21 lines
610 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#
|
|
# This code belongs to https://github.com/elvis-epx/sdr
|
|
# No licence information is provided.
|
|
#
|
|
|
|
|
|
#./example.py | ./fm1s.py | sox -t raw -r 50000 -b 16 -c 2 -L -e signed-integer - -d
|
|
|
|
#./example.py > buffer.iq
|
|
#./demo.py > sdrplay_buffer.iq
|
|
./fm1s_2.py < sdrplay_buffer.iq
|
|
|
|
|
|
# Run the radio direct to audio. Something about 1M samples and 50000 output rate sounds ass, but it works
|
|
#rtl_sdr -f 105.5M -s 1M - | ./fm1s.py | sox -t raw -r 50000 -b 16 -c 2 -L -e signed-integer - -d
|
|
|
|
# Get data from the nooelec device
|
|
#rtl_sdr -f 105.5M -s 1M -n 10000 nooelec_buffer.iq
|
|
./fm1s.py < nooelec_buffer.iq |