Skip to content

Commit 060cc76

Browse files
committed
Increase wake check window default to 4s
Voxtral's audio encoder needs 1-2s to produce the first token. With a 2s check window, short utterances like "hey torch" expired before any transcription appeared, requiring the user to say the keyword twice. Increase default to 4s and slider range to 2-8s. Made-with: Cursor
1 parent a5e5a3b commit 060cc76

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

voxtral_realtime/macos/VoxtralRealtime/Models/Preferences.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ final class Preferences {
128128
let words = $0.lowercased().split(separator: " ")
129129
return words.count > 1 ? words.dropFirst().joined(separator: " ") : words.first.map(String.init)
130130
} ?? "torch"
131-
self.wakeCheckSeconds = defaults.object(forKey: "wakeCheckSeconds") as? Double ?? 2.0
131+
self.wakeCheckSeconds = defaults.object(forKey: "wakeCheckSeconds") as? Double ?? 4.0
132132

133133
if !FileManager.default.fileExists(atPath: resolvedVadModelPath) {
134134
let probePaths = [

voxtral_realtime/macos/VoxtralRealtime/Views/WakeSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct WakeSettingsView: View {
5959

6060
LabeledContent("Check window") {
6161
VStack(alignment: .trailing, spacing: 4) {
62-
Slider(value: $prefs.wakeCheckSeconds, in: 1.0...4.0, step: 0.5)
62+
Slider(value: $prefs.wakeCheckSeconds, in: 2.0...8.0, step: 0.5)
6363
.frame(width: 200)
6464
Text(String(format: "%.1f s", prefs.wakeCheckSeconds))
6565
.font(.caption)

0 commit comments

Comments
 (0)