pepper.framework.component.text_to_speech module¶
-
class
pepper.framework.component.text_to_speech.
TextToSpeechComponent
(backend)[source]¶ Bases:
pepper.framework.abstract.component.AbstractComponent
Text To Speech Component. Exposes the say() Method to Applications
Parameters: backend (AbstractBackend) – Application Backend -
say
(text, animation=None, block=False)[source]¶ Say Text (with optional Animation) through Text-to-Speech
Parameters: - text (str) – Text to say through Text-to-Speech
- animation (str or None) – (Naoqi) Animation to play
- block (bool) – Whether this function should block or immediately return after calling
-