2018-12-01 00:00:00 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-11-01 16:45:08 +00:00
|
|
|
#This is only a Narraw Band FM modulator, for FM broadcast modulation , use PiFMRDS
|
|
|
|
# Need to use a direct FM modulation with librpitx and not using IQ : TODO
|
2018-12-01 00:00:00 +00:00
|
|
|
echo "If you need to test broadcast FM, use PiFMRDS"
|
2018-11-05 14:11:18 +00:00
|
|
|
#(while true; do cat sampleaudio.wav; done) | csdr convert_i16_f | csdr gain_ff 2500 | sudo ./sendiq -i /dev/stdin -s 24000 -f 434e6 -t float 1
|
2021-02-01 15:44:36 +00:00
|
|
|
(while true; do cat "$2"; done) | csdr convert_i16_f \
|
2018-12-01 00:00:00 +00:00
|
|
|
| csdr gain_ff 7000 | csdr convert_f_samplerf 20833 \
|
|
|
|
| sudo ./rpitx -i- -m RF -f "$1"
|
2015-10-21 16:08:45 +00:00
|
|
|
|