Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

fix(audio): delay stop cue until capture ends

altic-dev12eadb8c542d
diff --git a/Sources/Fluid/ContentView.swift b/Sources/Fluid/ContentView.swift
index 9c09ba8c..84553168 100644
--- a/Sources/Fluid/ContentView.swift
+++ b/Sources/Fluid/ContentView.swift
@@ -1824,7 +1824,6 @@ struct ContentView: View {
"Routing decision snapshot | activeMode=\(modeAtStop.rawValue) | rewrite=\(wasRewriteMode) | command=\(wasCommandMode) | overlay=\(NotchContentState.shared.mode.rawValue)",
source: "ContentView"
)
- TranscriptionSoundPlayer.shared.playStopSound()
self.clearActiveRecordingMode()
@@ -1843,6 +1842,7 @@ struct ContentView: View {
// The processing indicator will stay visible during this phase
let transcribedText = await asr.stop()
let audioSnapshot = self.asr.consumeLastCompletedAudioSnapshot()
+ TranscriptionSoundPlayer.shared.playStopSound()
DebugLogger.shared.info(
"Stop transcription result | chars=\(transcribedText.count) | empty=\(transcribedText.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty)",
source: "ContentView"
diff --git a/Sources/Fluid/Persistence/SettingsStore.swift b/Sources/Fluid/Persistence/SettingsStore.swift
index 80d9783e..81358f83 100644
--- a/Sources/Fluid/Persistence/SettingsStore.swift
+++ b/Sources/Fluid/Persistence/SettingsStore.swift
@@ -1584,6 +1584,10 @@ final class SettingsStore: ObservableObject {
}
}
+ var soundFileName: String? {
+ self.startSoundFileName
+ }
+
var stopSoundFileName: String? {
switch self {
case .fluidSfx0: return "FV_end_0"