From d9dd212cab759f6e74b217ec34c0b52ef857258a Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Fri, 19 Apr 2024 15:43:12 +0200 Subject: [PATCH] centered fft again --- freedata_server/audio.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freedata_server/audio.py b/freedata_server/audio.py index 482d7164..d3141f6e 100644 --- a/freedata_server/audio.py +++ b/freedata_server/audio.py @@ -352,8 +352,7 @@ def calculate_fft(data, fft_queue, states) -> None: # erase queue if greater than 3 if fft_queue.qsize() >= 1: fft_queue = queue.Queue() - #fft_queue.put(dfftlist[:315]) # 315 --> bandwidth 3200 - fft_queue.put(dfftlist) # 315 --> bandwidth 3200 + fft_queue.put(dfftlist[:315]) # 315 --> bandwidth 3200 except Exception as err: print(f"[MDM] calculate_fft: Exception: {err}")