Module
Web.Speech.TTS.Utterance
- Package
- purescript-web-speech
- Repository
- dirkz/purescript-web-speech
#PitchRateVolume Source
type PitchRateVolume = { pitch :: Number, rate :: Number, volume :: Number }
Pitch, rate and volume for an utterance.
#Utterance Source
data Utterance :: Type
Represents a SpeechSynthesisUtterance
#createWithVoiceAndPitch Source
createWithVoiceAndPitch :: Voice -> PitchRateVolume -> String -> Effect Utterance
Creates an utterance with voice, pitch, rate and volume, and text.
#defaultPitch Source
defaultPitch :: Number
The default pitch.
#defaultPitchRateVolume Source
defaultPitchRateVolume :: PitchRateVolume
The default pitch, rate and volume.
#defaultRate Source
defaultRate :: Number
The default rate.
#defaultVolume Source
defaultVolume :: Number
The default volume.