From 7b956c6606f7e3c61cd8a4babeb13923092c08d4 Mon Sep 17 00:00:00 2001 From: duffyduck Date: Sat, 15 Aug 2026 12:04:40 +0200 Subject: [PATCH] feat(voice): Stille-Toleranz bis 8s stellbar (Denkpausen) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit STT_ENDPOINT_MAX_MS 4000->8000. Der (in a) auf den aktiven Endpoint umgeklemmte 'Stille-Toleranz'-Regler geht damit bis 8s statt nur 4s — genug Zeit zum Nachdenken, ohne dass die Aufnahme endet. Fliesst per endpointMs an Voxtral/Whisper. Co-Authored-By: Claude Opus 4.8 --- android/src/services/audio.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/src/services/audio.ts b/android/src/services/audio.ts index 1bc8e69..08a45f2 100644 --- a/android/src/services/audio.ts +++ b/android/src/services/audio.ts @@ -152,12 +152,12 @@ export const CONV_WINDOW_MAX_SEC = 20.0; export const CONV_WINDOW_STORAGE_KEY = 'aria_conv_window_sec'; // STT-Endpoint (ms Stille bis "fertig gesprochen"). Zu kurz = schneidet mitten -// im Satz ab, besonders im Auto wo man mit Pausen spricht (Reproduktion: die -// 11.8s-Frage wurde bei "…ohne dass ein" gekappt). 1500 war zu aggressiv; -// 2400 default, im Auto ggf. hoeher. Konfigurierbar in den Settings. +// im Satz ab, besonders im Auto oder wenn man zum Nachdenken pausiert. 1500 war +// zu aggressiv; 2400 default, bis 8s hoch stellbar (Denkpausen). In den Settings +// unter "Stille-Toleranz" konfigurierbar. export const STT_ENDPOINT_DEFAULT_MS = 2400; export const STT_ENDPOINT_MIN_MS = 1000; -export const STT_ENDPOINT_MAX_MS = 4000; +export const STT_ENDPOINT_MAX_MS = 8000; // bis 8s: genug Zeit zum Ueberlegen export const STT_ENDPOINT_STORAGE_KEY = 'aria_stt_endpoint_ms'; export async function loadSttEndpointMs(): Promise {