
- Speaking styles — set the voice’s tone or emotion (for example: cheerful, excited, empathetic).
- Pauses and silence — insert breaks or delays to control pacing and rhythm.
- Phonemes — define custom pronunciations for technical terms, names, or nonstandard words.

- Prosody adjustments — change pitch, rate, and volume to create a more dynamic delivery.
- Say-as formatting — control how numbers, dates, times, phone numbers, and other tokens are spoken (for example, as a year, ordinal, or telephone number).
- Embedded audio — insert pre-recorded audio or background music for branding or effects.

Example SSML — C# string literal
This C# example shows two voices with different behaviors, using expressive styles, phonemes, and a pause:
- mstts:express-as — apply emotional/speaking styles (provider-specific).
- phoneme — use IPA to precise pronunciation.
- break — insert a pause for natural pacing.

Speech Studio’s real-time preview functionality is supported in Edge and Chrome. If you use other browsers (for example, Opera), some preview features may not work as expected.
- Use express-as (or provider-specific equivalents) to apply emotional or speaking styles (cheerful, excited, empathetic, etc.).
- Use prosody to fine-tune rate, pitch, and volume. Negative rate values slow speech; positive values speed it up.
- Use break to add pauses for natural pacing.
- Use phoneme tags to force correct pronunciations for technical terms and names.
- Export SSML from Speech Studio to iterate quickly in the UI, then integrate the SSML into your application code.
- Always test SSML playback on target platforms and browsers, as preview features and supported styles may vary.
Tip: When programmatically synthesizing SSML, prefer SSML-specific synthesis methods (for example, speak_ssml_async in the Azure Speech SDK) to ensure the markup is interpreted correctly.
- Azure Speech Studio: https://speech.microsoft.com/
- Azure Speech SDK documentation: https://learn.microsoft.com/azure/cognitive-services/speech-service/
- W3C SSML specification: https://www.w3.org/TR/speech-synthesis/
- Azure Text-to-Speech voices and styles: https://learn.microsoft.com/azure/cognitive-services/speech-service/voice-styles