minutes icon indicating copy to clipboard operation
minutes copied to clipboard

Transcription does not record when using a bluetooth audio device

Open sanisideup opened this issue 8 months ago • 1 comments

I typically use my Macbook speaker audio, but sometimes switch to my headset. I do this to keep listening to a meeting while stepping away from my desk to get coffee or water.

It seems that the transcription stops working when my audio is going to a bluetooth headset.

My tests:

  • Start audio transcription with Bluetooth headset already connected: Minutes detects no audio
  • Start audio transcription with MacBook speakers then switch to Bluetooth headset mid-transcription: Minutes detects no audio when I switch to bluetooth headset

sanisideup avatar Mar 31 '26 14:03 sanisideup

This is fixed on main — both the device selection and the auto-reconnect.

What changed:

  1. --device flag — you can now specify which device to record from:

    minutes record --device "AirPods Pro"
    minutes devices  # lists available devices
    

    Also configurable in config.toml:

    [recording]
    device = "MacBook Pro Microphone"
    
  2. Auto-reconnect on device change — if the system default audio input device changes mid-recording (e.g., Bluetooth headset connects/disconnects), Minutes now:

    • Detects the change instantly on macOS via a CoreAudio property listener
    • Tears down the old audio stream and builds a new one on the new device
    • Continues writing into the same WAV file seamlessly
    • Sends a macOS notification: "Audio input switched from X to Y"
    • Retries once after 1s if the first reconnect attempt fails
    • Falls back to silence-triggered detection (5s of silence + device change = reconnect)

    This works across all three capture modes: minutes record, minutes live, and dictation.

Both of your test scenarios should now work:

  • Start with BT headset already connected → use --device to pick it, or it auto-selects as system default
  • Switch to BT headset mid-recording → auto-reconnects within seconds

This will ship in the next release.

silverstein avatar Mar 31 '26 15:03 silverstein