timer-machine-android icon indicating copy to clipboard operation
timer-machine-android copied to clipboard

Bluetooth audio delay and lost audio steps

Open peter9421 opened this issue 2 months ago • 1 comments

When I set a TTS or music timer step they work fine thru phone speaker or over a Bluetooth speaker when audio is playing.

When the Bluetooth speaker is connected and nothing is playing I either never hear the TTS message or just get the tail end of it. Seems to take a couple seconds to wakeup the Bluetooth audio.

Currently sequence an audio clip beforehand as workaround. Problem with this is each step has a separate media pause/play. Tried lowering spacing between steps but then previously playing media never resumes.

Two ideas...

A setting to send nothing to audio channel for a configurable number of seconds before playing any beeps/music/TTS.

Pause/play steps that can be explicitly sequenced into a timer or some kind of automatic logic to prevent repeated pause/play between steps within a short interval.

peter9421 avatar Nov 12 '25 18:11 peter9421

The app tries to warm up TTS 20 seconds before using TTS. If this doesn't work, it means that Bluetooth is taking too long to pick up any sound, and blank audio probably won't work as well.

I've planned to support pausing and resuming music within a step.

DeweyReed avatar Nov 12 '25 23:11 DeweyReed