From d21c7fa423a74b9aa9505588d6601aacc2175c76 Mon Sep 17 00:00:00 2001 From: Twirre Meulenbelt <43213592+TwirreM@users.noreply.github.com> Date: Wed, 1 Oct 2025 13:41:53 +0200 Subject: [PATCH] fix: always use 1 audio channel Before, I chose the number of audio channels that the microphone supports. Should be 1. ref: N25B-119 --- src/audio_streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio_streaming.py b/src/audio_streaming.py index 0f28e68..669c178 100644 --- a/src/audio_streaming.py +++ b/src/audio_streaming.py @@ -58,7 +58,7 @@ class AudioStreaming: stream = self.audio.open( format=pyaudio.paFloat32, - channels=self.microphone["maxInputChannels"], + channels=1, rate=16000, input=True, input_device_index=self.microphone["index"],