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

    Type Alias BreakStrength

    BreakStrength: "x-weak" | "weak" | "medium" | "strong" | "x-strong"

    Strength levels for break/pause elements.

    Controls the relative duration of pauses in speech. Each strength level corresponds to a predefined pause duration. The actual pause may vary slightly based on the speech synthesis engine and surrounding context.

    Duration mapping:

    • x-weak: 250ms - Very short pause, barely noticeable
    • weak: 500ms - Short pause, like a comma
    • medium: 750ms - Medium pause (default), like a sentence ending
    • strong: 1000ms - Long pause, like a paragraph break
    • x-strong: 1250ms - Very long pause, for emphasis or section breaks
    // Short pause between items in a list
    voice.text('First').break({ strength: 'weak' }).text('Second');

    // Long pause for dramatic effect
    voice.text('And the winner is').break({ strength: 'x-strong' }).text('Team Alpha!');