Module

Web.Speech.TTS.Voice

Package
purescript-web-speech
Repository
dirkz/purescript-web-speech

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

#Voice Source

data Voice :: Type

Represents a SpeechSynthesisVoice

#isDefault Source

isDefault :: Voice -> Boolean

A boolean value indicating whether the voice is the default voice for the current app language (true), or not (false.) MDN.

#lang Source

lang :: Voice -> String

Returns a BCP 47 language tag indicating the language of the voice. MDN.

#localService Source

localService :: Voice -> Boolean

A boolean value indicating whether the voice is supplied by a local speech synthesizer service (true), or a remote speech synthesizer service (false.) MDN.

#name Source

name :: Voice -> String

Returns a human-readable name that represents the voice. MDN.

#voiceURI Source

voiceURI :: Voice -> String

Returns the type of URI and location of the speech synthesis service for this voice. MDN.