Microsoft Azure
Microsoft's Azure platform offers an impressive array of high-quality, multilingual voices in its Neural model.
Voices
Voices
Browse the complete list of Azure Neural voices in Microsoft's official documentation.
Voice gallery
Listen to audio samples and preview voices in Azure's interactive voice gallery.
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.
- SWML
- RELAY Realtime SDK
- Call Flow Builder
- cXML
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."
// This example uses the Node.js SDK for SignalWire's RELAY Realtime API.
const playback = await call.playTTS({
text: "Greetings. This is the Ava voice from Microsoft Azure's Neural text-to-speech model.",
voice: "azure.en-US-AvaNeural",
});
await playback.ended();
Azure voices are not yet supported in Call Flow Builder.
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="azure.en-US-AvaNeural">
Greetings. This is the Ava voice from Microsoft Azure's Neural text-to-speech model.
</Say>
</Response>