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 |
def rospeex_core.ss.google.Client.__init__ | ( | self | ) |
def rospeex_core.ss.google.Client._convert_mp3_to_wav | ( | self, | |
data | |||
) | [private] |
def rospeex_core.ss.google.Client.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.base.IClient.
list rospeex_core::ss::google.Client::LANGUAGES = ['ja', 'en', '*'] [static] |