A spoken navigation prompt can be accurate when it enters the queue and wrong by the time it plays. The driver might have passed the turn while speech was waiting, or a reroute might have replaced the maneuver entirely.

Give each prompt a route revision and an expiration

A pending prompt can carry a route revision, a maneuver ID, and the latest useful playback time. Check them again immediately before playback. Drop a prompt if its route revision changed. If the deadline passed, check if the current maneuver still needs a shorter cue.

A two-second cue that starts one second before a decision point may deliver the turn direction too late. Estimated speech duration can help determine which cues fit the remaining time.

Test ordering with a fake clock

  • A cue waits behind another utterance and the driver passes its turn.
  • A reroute arrives after a cue is queued and before playback starts.
  • Two turns are close together and the first announcement would run into the next decision window.

Record the queue decision and the reason for it. “Dropped because the route changed” is easier to test than a recording alone.

Making spoken guidance feel less disruptive alongside music is a long-term goal for RHYTH. Music-service synchronization is currently unavailable. If a reliable music timing signal becomes available, it could help choose among the playback windows the route allows.