Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | List of all members
mycroft.tts.remote_tts.RemoteTTS Class Reference
Inheritance diagram for mycroft.tts.remote_tts.RemoteTTS:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, lang, config, url, api_path, validator)
 
def build_request_params (self, sentence)
 
def execute (self, sentence, ident=None)
 
- Public Member Functions inherited from mycroft.tts.TTS
def __del__ (self)
 
def __init__ (self, lang, config, validator, audio_ext='wav', phonetic_spelling=True, ssml_tags=None)
 
def begin_audio (self)
 
def clear_cache (self)
 
def end_audio (self)
 
def execute (self, sentence, ident=None)
 
def get_tts (self, sentence, wav_file)
 
def init (self, bus)
 
def load_phonemes (self, key)
 
def load_spellings (self)
 
def modify_tag (self, tag)
 
def save_phonemes (self, key, phonemes)
 
def validate_ssml (self, utterance)
 
def viseme (self, phonemes)
 

Public Attributes

 api_path
 
 auth
 
 session
 
 url
 
- Public Attributes inherited from mycroft.tts.TTS
 audio_ext
 
 bus
 
 config
 
 enclosure
 
 filename
 
 lang
 
 phonetic_spelling
 
 playback
 
 queue
 
 spellings
 
 ssml_tags
 
 tts_name
 
 validator
 
 voice
 

Private Member Functions

def __play (self, req)
 
def __request (self, p)
 
def __requests (self, phrases)
 
def __save (self, data)
 

Static Private Member Functions

def __get_phrases (sentence)
 

Additional Inherited Members

- Static Public Member Functions inherited from mycroft.tts.TTS
def remove_ssml (text)
 

Detailed Description

Abstract class for a Remote TTS engine implementation.

It provides a common logic to perform multiple requests by splitting the
whole sentence into small ones.

Definition at line 28 of file remote_tts.py.

Constructor & Destructor Documentation

def mycroft.tts.remote_tts.RemoteTTS.__init__ (   self,
  lang,
  config,
  url,
  api_path,
  validator 
)

Definition at line 36 of file remote_tts.py.

Member Function Documentation

def mycroft.tts.remote_tts.RemoteTTS.__get_phrases (   sentence)
staticprivate

Definition at line 57 of file remote_tts.py.

def mycroft.tts.remote_tts.RemoteTTS.__play (   self,
  req 
)
private

Definition at line 78 of file remote_tts.py.

def mycroft.tts.remote_tts.RemoteTTS.__request (   self,
  p 
)
private

Definition at line 69 of file remote_tts.py.

def mycroft.tts.remote_tts.RemoteTTS.__requests (   self,
  phrases 
)
private

Definition at line 63 of file remote_tts.py.

def mycroft.tts.remote_tts.RemoteTTS.__save (   self,
  data 
)
private

Definition at line 88 of file remote_tts.py.

def mycroft.tts.remote_tts.RemoteTTS.build_request_params (   self,
  sentence 
)

Definition at line 75 of file remote_tts.py.

def mycroft.tts.remote_tts.RemoteTTS.execute (   self,
  sentence,
  ident = None 
)

Definition at line 43 of file remote_tts.py.

Member Data Documentation

mycroft.tts.remote_tts.RemoteTTS.api_path

Definition at line 38 of file remote_tts.py.

mycroft.tts.remote_tts.RemoteTTS.auth

Definition at line 39 of file remote_tts.py.

mycroft.tts.remote_tts.RemoteTTS.session

Definition at line 41 of file remote_tts.py.

mycroft.tts.remote_tts.RemoteTTS.url

Definition at line 40 of file remote_tts.py.


The documentation for this class was generated from the following file:


mycroft_ros
Author(s):
autogenerated on Mon Apr 26 2021 02:35:41