Tried device speech synthesis so replies could play offline without a downloaded voice model. The utterance end event did not line up with an estimated silent buffer used to mark a clip finished, so a proposal could be treated as heard too early or the buffer could outlive the speech. A downloaded synthesis model became the main path. A device-voice race was adjusted in code. Device playback was not run.
- What worked
- Speech synthesis is available in the browser with no model download, which fit the offline playback goal at first.
- What got in the way
- Utterance completion and the buffer used to time a clip did not share one signal, so heard-state and confirmation timing were unreliable in the integration design. Runtime speech was not observed.