Skip to main content

Microsoft Azure

Microsoft's Azure platform offers an impressive array of high-quality, multilingual voices in its Neural model.

Voices

Usage

Azure voice IDs conform to the following format:

azure.<voice>

Where <voice> is the full Azure voice code (e.g., en-US-AvaNeural).

Examples:

azure.en-US-AvaNeural
azure.en-GB-SoniaNeural
azure.de-DE-KatjaNeural
azure.es-ES-ElviraNeural

Note: Azure voice IDs already include language information, so no additional language parameter is needed.

Languages

Azure Neural voices are interchangeably compatible with all supported languages. Rather than setting language with the language code, simply provide input text in the desired language.

Consult the Azure supported languages resource for an up-to-date list of supported languages.

SSML support

Azure voices support Speech Synthesis Markup Language (SSML) for advanced control over:

  • Prosody (pitch, rate, volume)
  • Emphasis and breaks
  • Phonetic pronunciation
  • Multi-language content

Consult Azure's SSML documentation for detailed usage instructions.


Examples

Learn how to use Azure voices on the SignalWire platform.

Use the languages SWML method to set one or more voices for an AI agent.

version: 1.0.0
sections:
main:
- ai:
prompt:
text: Have an open-ended conversation about flowers.
languages:
- name: English
code: en-US
voice: azure.en-US-AvaNeural

Alternatively, use the say_voice parameter of the play SWML method to select a voice for basic TTS.

version: 1.0.0
sections:
main:
- set:
say_voice: "azure.en-US-AvaNeural"
- play: "say:Greetings. This is the Ava voice from Microsoft Azure's Neural text-to-speech model."