Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
fix: improve soft voice recognition with AGC and lower VAD threshold
Gabriel Stein9f6f8098a897
diff --git a/src/helpers/audioManager.js b/src/helpers/audioManager.jsindex 4d49b91f6..3d6138744 100644--- a/src/helpers/audioManager.js+++ b/src/helpers/audioManager.js@@ -233,11 +233,12 @@ registerProcessor("pcm-streaming-processor", PCMStreamingProcessor);const { preferBuiltInMic: preferBuiltIn, selectedMicDeviceId: selectedDeviceId } =getSettings();- // Disable browser audio processing — dictation doesn't need it and it adds ~48ms latency+ // AGC enabled to boost quiet/soft speech — essential for low-volume voice recognition.+ // Echo cancellation and noise suppression stay off to avoid latency and speech distortion.const noProcessing = {echoCancellation: false,noiseSuppression: false,- autoGainControl: false,+ autoGainControl: true,};if (preferBuiltIn) {diff --git a/src/helpers/openaiRealtimeStreaming.js b/src/helpers/openaiRealtimeStreaming.jsindex 8ec1aac47..0f2918ac8 100644--- a/src/helpers/openaiRealtimeStreaming.js+++ b/src/helpers/openaiRealtimeStreaming.js@@ -149,9 +149,9 @@ class OpenAIRealtimeStreaming {},turn_detection: {type: "server_vad",- threshold: 0.5,+ threshold: 0.3,silence_duration_ms: 800,- prefix_padding_ms: 300,+ prefix_padding_ms: 500,},},})