Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
rospeex_core.ss.client_google.SpeechSynthesisClient_Google Class Reference
Inheritance diagram for rospeex_core.ss.client_google.SpeechSynthesisClient_Google:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

SpeechSynthesisCient_Google class 

Definition at line 25 of file ss/client_google.py.


Constructor & Destructor Documentation

init function 

Definition at line 29 of file ss/client_google.py.


Member Function Documentation

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.


Member Data Documentation

Definition at line 27 of file ss/client_google.py.

Definition at line 29 of file ss/client_google.py.


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


rospeex_core
Author(s): Komei Sugiura
autogenerated on Wed Aug 26 2015 16:10:30