SSML Builder Documentation - v1.0.1
    Preparing search index...

    Type Alias EmphasisLevel

    EmphasisLevel: "strong" | "moderate" | "reduced"

    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 speech
    • moderate: Medium emphasis (default) - moderate pitch increase
    • reduced: De-emphasis - lower pitch and faster speech, useful for parenthetical information
    // Strong emphasis for warnings
    voice.emphasis('DANGER!', 'strong');

    // Reduced emphasis for less important info
    voice.emphasis('(optional)', 'reduced');