Update transmit.py repeater gain 4000

master-b-p
Alan Johnston 1 week ago committed by GitHub
parent fd367d77a2
commit 7c00ec70f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -950,7 +950,7 @@ if __name__ == "__main__":
if (input(squelch) == False) and (command_tx == True): if (input(squelch) == False) and (command_tx == True):
print("Carrier detected, starting repeater") print("Carrier detected, starting repeater")
output(txLed, 1) output(txLed, 1)
system("sudo nc -l 8011 | csdr convert_i16_f | csdr gain_ff 8000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &") system("sudo nc -l 8011 | csdr convert_i16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f " + tx + "e3 > /dev/null 2>&1 &")
sleep(0.5) sleep(0.5)
system("sudo arecord -D shared_mic -r48000 -fS16_LE -c1 | nc localhost 8011 &") system("sudo arecord -D shared_mic -r48000 -fS16_LE -c1 | nc localhost 8011 &")
while (input(squelch) == False): while (input(squelch) == False):

Loading…
Cancel
Save

Powered by TurnKey Linux.