LitDev Extension API
The Speech library allows text to be spoken and speech recognition.
Text of the last speech spoken (and recognised) by the computer.
The last speech spoken detection confidence of correctness (0 to 1).
Event when speech is spoken (and recognised) by the computer.
A good microphone, lots of training or consise dictionary are needed to get decent results.
Speak some text.
text Text to be spoken.
Speed of speech (-10 to 10).
Set a vocabulary of words and phrases for the speech regonition to use.
If this is unset, then a large language vocabulary is used and the results will generally be less good (unusable).
Also distinct phrases can have a better recognition than single words.
dictionary An array of words or phrases to be recognised.
If it is empty, then the default language vocabulary is used.
The current voice.
Returns an array of available voices.
returns An array of available voices.
Volume of speech (0 to 100).