pepper.framework.backend.system.text_to_speech module

class pepper.framework.backend.system.text_to_speech.SystemTextToSpeech(language)[source]

Bases: pepper.framework.abstract.text_to_speech.AbstractTextToSpeech, pepper.framework.sensor.asr.GoogleTranslator

System Text to Speech

Parameters:language (str) – Language Code
GENDER = 2
TMP = u'C:\\Users\\Pepper\\Documents\\Pepper\\pepper\\tmp\\speech'
TYPE = u'Standard'
on_text_to_speech(text, animation=None)[source]

Say something through Text to Speech

Parameters:
  • text (str) –
  • animation (str) –
pepper.framework.backend.system.text_to_speech.getrandbits(k) → x. Generates a long int with k random bits.