// Strong emphasis for warnings
voice.emphasis('DANGER!', 'strong');
// Reduced emphasis for less important info
voice.emphasis('(optional)', 'reduced');
https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-synthesis-markup#adjust-emphasis Emphasis Element Documentation
Emphasis levels for the emphasis element.
Controls the intensity of emphasis applied to text. Emphasis affects both pitch and timing to make words or phrases stand out from surrounding speech.
Levels:
strong
: High emphasis - significant pitch increase and slower speechmoderate
: Medium emphasis (default) - moderate pitch increasereduced
: De-emphasis - lower pitch and faster speech, useful for parenthetical information