Skip to content

1.5.5 final PR : transcription sound added to record start ; notch delay reduced #119

Merged
altic-dev merged 12 commits intomainfrom
b/transcription-sounds
Jan 26, 2026
Merged

1.5.5 final PR : transcription sound added to record start ; notch delay reduced #119
altic-dev merged 12 commits intomainfrom
b/transcription-sounds

Conversation

@altic-dev
Copy link
Owner

Description

Added option to add recording start chime sound + options to choose from.

  • Reduced notch animation from 150ms to 30ms delay.

Type of Change

  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update

Related Issues

#86 #111

Testing

  • Tested on Intel/Apple Silicon Mac
  • Tested on Apple Silicon Mac
  • Tested on macOS [version]
  • Ran linter locally: brew install swiftlint && swiftlint --strict --config .swiftlint.yml
  • Ran formatter locally: brew install swiftformat && swiftformat --config .swiftformat Sources

Screenshots / Video

Add screenshots or Video recording of the app after you have made your changes

@macroscopeapp
Copy link
Contributor

macroscopeapp bot commented Jan 26, 2026

Add a transcription start sound across dictation, command, and rewrite modes and reduce overlay notch delay to 30 ms in ContentView.startRecording and MenuBarManager.handleOverlayState

Introduce TranscriptionSoundPlayer for start sound playback gated by settings, emit AnalyticsEvent.customPromptUsed when custom prompts are used, add start sound resources and settings UI, and update version to 1.5.5.

📍Where to Start

Start with start sound triggering in ContentView.startRecording in Sources/Fluid/ContentView.swift, then review playback implementation in TranscriptionSoundPlayer in Sources/Fluid/Services/TranscriptionSoundPlayer.swift.


📊 Macroscope summarized 0ab2b84. 8 files reviewed, 9 issues evaluated, 6 issues filtered, 3 comments posted. View details

Comment on lines +504 to +505
if providerID == "fluid-1" {
if self.expandedProviderID == providerID {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When expanding fluid-1 while a regular provider is expanded, the early return skips calling setEditingAPIKey(false, ...) for the previous provider. Consider clearing the editing state before the early return.

-        if providerID == "fluid-1" {
-            if self.expandedProviderID == providerID {
+        if providerID == "fluid-1" {
+            if let previousID = self.expandedProviderID, previousID != "fluid-1" {
+                self.viewModel.setEditingAPIKey(false, for: previousID)
+            }
+            if self.expandedProviderID == providerID {

🚀 Want me to fix this? Reply ex: "fix it for me".

}

private func submitFluid1Interest() {
guard !self.settings.fluid1InterestCaptured else { return }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider also guarding against fluid1InterestIsSubmitting being true to prevent potential concurrent submissions.

Suggested change
guard !self.settings.fluid1InterestCaptured else { return }
guard !self.settings.fluid1InterestCaptured, !self.fluid1InterestIsSubmitting else { return }

🚀 Want me to fix this? Reply ex: "fix it for me".


do {
var request = URLRequest(url: url)
request.httpMethod = "POST"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a timeoutInterval to the request (e.g., request.timeoutInterval = 15) so the spinner doesn't hang for 60 seconds if the server is unresponsive.

Suggested change
request.httpMethod = "POST"
request.httpMethod = "POST"
request.timeoutInterval = 15

🚀 Want me to fix this? Reply ex: "fix it for me".

@altic-dev altic-dev merged commit 7ab175c into main Jan 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants