From 11dee75ab310c7b6d504125346aa6d833cc9187e Mon Sep 17 00:00:00 2001 From: "thomas.kopp" Date: Thu, 2 Apr 2026 09:14:34 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20record=20at=2048000=20Hz=20=E2=80=94=20P?= =?UTF-8?q?ipeWire=20virtual=20sinks=20reject=2016=20kHz=20resampling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Whisper and faster-whisper both handle arbitrary sample rates internally. --- audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio.py b/audio.py index 8fa76cf..fac1e61 100644 --- a/audio.py +++ b/audio.py @@ -4,7 +4,7 @@ import numpy as np class AudioRecorder: - def __init__(self, sample_rate: int = 16000, device: str | None = None): + def __init__(self, sample_rate: int = 48000, device: str | None = None): self.sample_rate = sample_rate self.device = device or None self._buffer: list[np.ndarray] = []