Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SsmlBuilder

Hierarchy

Index

Constructors

constructor

Properties

Protected stack

stack: string[]

Protected textToSpeak

textToSpeak: string[]

Methods

AddAlias

  • AddAlias(text: string, alias: string): this

AddBreak

AddBreakMs

  • AddBreakMs(milliseconds: number): this

AddEmphasis

AddInterpretAs

AddParagraph

  • AddParagraph(text: string): this

AddPitch

AddRate

AddSayAs

AddSentence

  • AddSentence(text: string | string[]): this

AddSpell

  • AddSpell(text: string): this

AddSsml

  • AddSsml(ssml: string): this

AddText

  • AddText(text: string): this

AddVolume

Build

  • Build(): string

CloseAllEffects

  • CloseAllEffects(): this

CloseEffect

  • CloseEffect(): this

GetAlias

  • GetAlias(text: string, alias: string): string

GetBreak

GetBreakMs

  • GetBreakMs(milliseconds: number): string

GetEmphasis

GetInterpretAs

GetParagraph

  • GetParagraph(text: string): string

GetProsody

  • GetProsody(key: string, value: string, text: string): string
  • Parameters

    • key: string
    • value: string
    • text: string

    Returns string

GetProsodyStart

  • GetProsodyStart(key: string, value: string): string

GetSentence

  • GetSentence(text: string): string

GetSpell

  • GetSpell(text: string): string

StartEmphasis

StartPitch

StartRate

StartVolume

escape

  • escape(text: string): string

Generated using TypeDoc