From 4de1fb733aa116a5c7e5cdc3a33bd761a311632e Mon Sep 17 00:00:00 2001 From: talksik Date: Sat, 29 Apr 2023 10:38:55 -0700 Subject: [PATCH] works, but play around with rate --- audio/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio.py b/audio/audio.py index cbf126a..ca4213a 100644 --- a/audio/audio.py +++ b/audio/audio.py @@ -109,7 +109,7 @@ class Audio: stream = p.open( format=p.get_format_from_width(RESPEAKER_WIDTH), channels=RESPEAKER_CHANNELS, - rate=RESPEAKER_RATE, + rate=8000, output=True, output_device_index=RESPEAKER_INDEX, )