Interface TextToSpeechProvider

interface TextToSpeechProvider {
    id: string;
    displayName?: string;
    supportsStreaming?: boolean;
    synthesize(text, options?): Promise<SpeechSynthesisResult>;
    getProviderName(): string;
    listAvailableVoices?(): Promise<SpeechVoice[]>;
}

Implemented by

Methods

Properties

id: string
displayName?: string
supportsStreaming?: boolean