From a1b2258bd23509a53e201e61cc1fb9f967e9cf81 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Fri, 5 Jan 2024 15:58:42 +0100 Subject: [PATCH] adjusted modem blocksize for avoiding audio underruns --- modem/modem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modem/modem.py b/modem/modem.py index 387e3486..ef9af3e1 100644 --- a/modem/modem.py +++ b/modem/modem.py @@ -421,7 +421,7 @@ class RF: # we need to wait manually for tci processing self.tci_module.wait_until_transmitted(audio_48k) else: - sd.play(audio_48k, blocksize=1024, blocking=True) + sd.play(audio_48k, blocksize=4096, blocking=True) return def init_rig_control(self):