From be1ff1023ef8ec609d38a35ff62395f19c83b6c4 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sat, 7 Aug 2021 12:30:23 +0200 Subject: [PATCH] sending signalling frames twice test to see if we could improve channel quality --- tnc/modem.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tnc/modem.py b/tnc/modem.py index 4f0e86c9..62fcabdb 100644 --- a/tnc/modem.py +++ b/tnc/modem.py @@ -237,7 +237,9 @@ class RF(): converted_audio = audioop.ratecv(self.streambuffer,2,1,static.MODEM_SAMPLE_RATE, static.AUDIO_SAMPLE_RATE_TX, None) self.streambuffer = bytes(converted_audio[0]) - + print(len(self.streambuffer)) + self.streambuffer += bytes(converted_audio[0]) + print(len(self.streambuffer)) # -------------- transmit audio #logging.debug("SENDING SIGNALLING FRAME " + str(data_out))