FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

[BUG] Fluid voice crashes on macOS.

Open satyanarayan95 opened this issue 4 months ago • 10 comments

Describe the bug

Fluid Voice becomes unstable when AirPods are connected on macOS. Depending on the timing of the connection, the application either freezes or crashes, and speech detection stops working.

Reproduction steps

Scenario 1: Connect AirPods while using built-in audio devices

  • Launch Fluid Voice.
  • Use the Mac's built-in speaker and microphone.
  • Connect the AirPods Pro 3 while the application is running.

Scenario 2: Connect AirPods during an active session

  • Launch Fluid Voice.
  • Connect the AirPods Pro 3 after speech detection has already started or while the application is in use.

Expected behavior

Fluid Voice should seamlessly switch to the AirPods as the active audio input/output device without freezing, crashing, or interrupting speech detection.

Actual behavior

  • The application freezes immediately after the AirPods are connected.
  • Speech detection stops working, and the application eventually crashes.

App Version

1.6.4

macOS Version

macOS 26.5.1

Architecture

Apple Silicon

Logs or crash report


Screenshots or screen recording

No response

satyanarayan95 avatar Jul 17 '26 06:07 satyanarayan95

I can confirm the bug with any bluetooth headphones. MacOS version 26.5.2 App Version 1.6.4

mueller-maximilian avatar Jul 17 '26 06:07 mueller-maximilian

Hey @satyanarayan95 / @mueller-maximilian, we have made some fixes in our 1.6.5 version. Please try it out let us know if you continue running into this issue

https://github.com/altic-dev/FluidVoice/releases/tag/v1.6.5

grohith327 avatar Jul 21 '26 03:07 grohith327

@grohith327 didn't work for me. What appears to be happening is mic is turning on and off repeatedly until it crashes.

The only thing that works is using a wired mic. Both my bluetooth headsets (Bose set, and Airpods Pro) cause the undesired behavior.

Worth noting... this is happening even if I go way back to versions that worked for me fine. 1.6.2 for example. Which makes me wonder if MacOS (i'm on 26.5.2 (25F84)) changed something in the way the controllers work that is causing the problem for your code.

duncanmapes avatar Jul 21 '26 12:07 duncanmapes

Sorry if this is not the appropriate place for this and it needs a new issue opened, I'm new to contributing these kinds of things. A related bug that I've found when using my AirPods Pro: when I use the stem with FluidVoice open, it automatically routes from pause/play with audio to activating Siri.

redkashmir7 avatar Jul 21 '26 15:07 redkashmir7

Hey @duncanmapes, our transcription pipeline which AV Audio Engine has been exposing a lot of edge cases as we get more users and it is becoming harder to track them down. Apologies for that, the fact the you see it in versions going all the way back to 1.6.2 sort of confirms my hunch that the AV Audio engine is the culprit here.

If you can help me by trying out one thing, it would reinforce my hypothesis. Use the latest version (1.6.5), turn on the "Faster recording start" and see if it helps, if you still run into issues, you can also set a microphone override by using you Mac as your mic always. Check the screenshot below.

Image Image

grohith327 avatar Jul 23 '26 00:07 grohith327

@redkashmir7 What you are facing is probably related to #691, we don't have an immediate fix for this since both CoreAudio and AVAudioEngine holds control of bluetooth devices and this can result in this type of behavior.

I am planning on fixing this for the CoreAudio path which will replace the AVAudioEngine transcription pipeline which we have defaulted now

grohith327 avatar Jul 23 '26 00:07 grohith327

@grohith327 First off, want to make sure its clear, reporting these issues are by no means a complaint. LOVE the app, recognize its a free OSS app, and am super appreciative of the work you guys are doing. I hope it drives business for you in some other way.

I was the VPE at a company that had to run a mobile app that had to interface with 3rd party scanners and printers...and even that controlled device/firmware list was a nightmare. Can't imagine the headache of supporting all the weirdness between mics and bluetooth.

Lastly....that feature setting does appear to have killed the problem, which is counter intuitive to me...but glad it validates your hypothesis. Thanks for chasing it down.

duncanmapes avatar Jul 23 '26 11:07 duncanmapes

Hey folks, I have PR #732 which attempts to make this process more reliable. I have a signed dmg attached below based on the PR, any takers ? anyone would like to take it for a spin and let me know if you continue the issues.

DMG

@duncanmapes @redkashmir7 @mueller-maximilian @satyanarayan95

grohith327 avatar Jul 30 '26 01:07 grohith327

Hey folks, 1.6.6 is out. Please update, give it a shot and let me know if issue persists

grohith327 avatar Jul 31 '26 06:07 grohith327

new to github, and using 1.6.7 today after Homebrew install. works fine w/ Macbook Pro M3Pro running 26.6.1, using standard microphone input, as well as in clamshell mode using Airpods Pro 2 as input. don't see the option in my settings for "Faster Recording Start" but doesn't seem to need it in my early testing.

great app so far. will be using it throughout this week. thank you!

aineko42 avatar Aug 10 '26 18:08 aineko42