This Web Speech API interface represents a voice that the system supports. Every SpeechSynthesisVoice has its own relative speech service including information about language, name and URI.

MDN Reference

interface SpeechSynthesisVoice {
    lang: string;
    localService: boolean;
    name: string;
    types.<internal>SpeechSynthesisVoice: boolean;
    voiceURI: string;
}

Properties

lang: string
localService: boolean
name: string
types.<internal>SpeechSynthesisVoice: boolean
voiceURI: string