Update transmit.py 10 Hz updates on repeater mode doppler

master-bh
Alan Johnston 16 hours ago committed by GitHub
parent bc02cab00a
commit 6e8eaa112b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -288,7 +288,7 @@ def start_repeater(tx_doppler_freq_hz):
global txLed
print("Starting repeater")
output(txLed, 1)
txr = "{:.3f}".format(tx_doppler_freq_hz/1e6)
txr = "{:.6f}".format(tx_doppler_freq_hz/1e6)
system("sudo nc -l 8011 | csdr convert_i16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f " + txr + "e3 > /dev/null 2>&1 &")
sleep(0.5)
system("sudo arecord -D shared_mic -r48000 -fS16_LE -c1 | nc localhost 8011 &")

Loading…
Cancel
Save

Powered by TurnKey Linux.