Public Member Functions | |
def | __init__ |
def | request |
Public Attributes | |
URL | |
Static Public Attributes | |
list | LANGUAGES = ['ja', 'en', '*'] |
Private Member Functions | |
def | _convert_mp3_to_wav |
SpeechSynthesisCient_Google class
Definition at line 25 of file ss/client_google.py.
init function
Definition at line 29 of file ss/client_google.py.
def rospeex_core.ss.client_google.SpeechSynthesisClient_Google._convert_mp3_to_wav | ( | self, | |
data | |||
) | [private] |
convert mp3 to waf file @param data: mp3 binary data @type data: str @return: wav binary data @rtype: str @raises SpeechSynthesisException:
Definition at line 94 of file ss/client_google.py.
def rospeex_core.ss.client_google.SpeechSynthesisClient_Google.request | ( | self, | |
message, | |||
language = 'ja' , |
|||
voice_font = '' , |
|||
timeout = socket._GLOBAL_DEFAULT_TIMEOUT |
|||
) |
Send speech synthesis request to server, and get speech synthesis result. @param message: message @type message: str @param language: speech synthesis language @type language: str @param voice_font: taraget voice font @type voice_font: str @param timeout: request timeout time (second) @type timeout: float @return: voice data (wav format binary) @rtype: str @raise SpeechSynthesisException:
Reimplemented from rospeex_core.ss.client_base.SpeechSynthesisClient.
Definition at line 34 of file ss/client_google.py.
list rospeex_core::ss::client_google.SpeechSynthesisClient_Google::LANGUAGES = ['ja', 'en', '*'] [static] |
Definition at line 27 of file ss/client_google.py.
Definition at line 29 of file ss/client_google.py.