Class: TTS

TTS()

Functions to narrate text into speech

Constructor

new TTS()

Source:

Methods

(static) this.say(whatToSay, volume, rate, voice)

Narrates normal language text into speech
Parameters:
Name Type Description
whatToSay string String of what to narrate
volume number Volume of speech (0 - 100). Default = 100.
rate number Rate of speech. Default = 0.3 with greater values getting faster.
voice string Voice of speech. Ex: en-US (U.S. English), fr-CA (French Canadian). Default = en-US.
Source: