mmir.env.media.WebSpeechTTSImpl
Media Module: Implementation for Text-To-Speech via WebSpeech API SpeechSynthesis
Requires
- module:HTML5
Members
-
private_getLangParam
-
-
private_lastSelectedVoice
-
-
readonly_pluginName
-
- Default Value:
- "ttsWebspeech"
Methods
-
private_createUtteranceAudio()
-
HELPER create AudioImpl wrapper for SpeechSynthesisUtterance instance.
-
private_createVoiceFilter(options)
-
HELPER create filter-function for voice depending on language and/or gender
Name Type Description options
VoiceOptions for listing voices: options.language: the language code (may include country code) options.details: boolean | {name: string, gender: 'male' | 'female' | 'unknown'} -
private_getFixedLang()
-
HELPER retrieve language setting and apply impl. specific corrections/adjustments (i.e. deal with WebSpeech specific quirks for language/country codes)
-
private_getFixedVoice()
-
HELPER retrieve voice setting and apply impl. specific corrections/adjustments
-
private_getVoiceList()
-
-
private_invokeAsync()
-
-
private_selectVoice()
-
HELPER retrieve voice setting and apply impl. specific corrections/adjustments
-
private_toVoiceDetails(infos)
-
HELPER convert raw voice information
Name Type Description infos
SpeechSynthesisVoice the raw voice information -
privatecreateAudio()
-
-
getCreateAudioFunc()
-
-
privategetLanguageList()
-
getLanguageListFunc()
-
-
getPluginName()
-
-
privategetVoiceList()
-
getVoiceListFunc()
-
-
setLangParamFunc()
-
-
setVoiceParamFunc()
-