Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
rospeex_core.ss.google.Client Class Reference
Inheritance diagram for rospeex_core.ss.google.Client:
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 23 of file google.py.


Constructor & Destructor Documentation

init function 

Definition at line 27 of file google.py.


Member Function Documentation

def rospeex_core.ss.google.Client._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 106 of file google.py.

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.

Definition at line 32 of file google.py.


Member Data Documentation

list rospeex_core::ss::google.Client::LANGUAGES = ['ja', 'en', '*'] [static]

Definition at line 25 of file google.py.

Definition at line 27 of file google.py.


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


rospeex_core
Author(s): Komei Sugiura
autogenerated on Thu Jun 6 2019 18:53:10