In this article
The SSML specification defines mark as an empty element with a name, with processor-to-host notification or rendered-position information under its contract. The marker does not itself alter the speech output. Provider implementations can expose different supported elements and event interfaces: Azure's documented bookmark mechanism should not be assumed to be a literal drop-in acceptance of every W3C mark document. Preserve the selected processor's vocabulary, event payload and time basis r.
An SSML mark identifies a location in synthesized output without adding a word to the speech. It can support application synchronization, but its name is not a transcript token and its callback arrival is not automatically the listener’s playback time. A voice interface needs to distinguish synthesis-position evidence from message-delivery timing.
The audio contract
The SSML specification defines mark as an empty element with a name, with processor-to-host notification or rendered-position information under its contract. The marker does not itself alter the speech output. Provider implementations can expose different supported elements and event interfaces: Azure’s documented bookmark mechanism should not be assumed to be a literal drop-in acceptance of every W3C mark document. Preserve the selected processor’s vocabulary, event payload and time basis rather than generalizing from the common idea of a named marker.
Implementation details
Assign marker identities within the synthesis request and keep them associated with the generated audio artifact. Interpret any reported position in the provider’s documented units, then map it to the local playback timeline explicitly. Handle delayed, repeated or canceled-request events according to the chosen delivery interface. Do not trigger a new application’s irreversible action solely because a named marker arrived unless that action has its own authorization and reliability contract. Keep marker names out of spoken text and avoid embedding sensitive conversation data in identifiers that may enter operational telemetry.
A constructed validation case
Synthesize a short controlled document containing ordinary text and supported named markers. Verify that marker names are not spoken and that returned events map to the intended artifact positions. Delay event delivery relative to playback in the test harness and exercise cancellation followed by another request. Acceptance requires correct request association and an explicit synchronization mapping, not equality between callback wall time and audible position. Preserve the exact provider syntax so the test does not accidentally compare a supported bookmark with an unsupported standard element.
Operational limits
Markers provide synchronization structure, not word-alignment accuracy or proof that a listener heard the sound. Device buffering, playback interruption and provider support remain separate. Keep those limits visible when using synthesized speech events to coordinate an agent interface.
Primary references
This is a proposed voice-system validation, not an executed Retrivium benchmark. Preserve the implementation version and unresolved outcomes; interface documentation does not establish the quality or timing of a deployed voice service.
Related reading
Transcript cleanup: punctuation must not break word-time alignment; CosyVoice2 streaming assembly: token offsets and vocoder tails prevent duplicate audio.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.