RAPP Platform API
|
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | get_audio_raw |
Get audio raw data from response. More... | |
def | store_audio |
Store returned audio data to an audio file given by path. More... | |
Public Attributes | |
basename | |
A static basename for the audio data file, returned from the platform service. More... | |
encoding | |
Codec used to encode the audio data payload. More... | |
error | |
Error message. More... | |
payload | |
The audio data payload. More... | |
Text-To-Speech (TTS) Cloud Response object. TextToSpeech.Response
Definition at line 55 of file TextToSpeech.py.
def RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Response.__init__ | ( | self, | |
kwargs | |||
) |
def RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Response.get_audio_raw | ( | self | ) |
Get audio raw data from response.
Definition at line 85 of file TextToSpeech.py.
def RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Response.store_audio | ( | self, | |
destfile | |||
) |
Store returned audio data to an audio file given by path.
destfile | - Destination file path. |
Definition at line 92 of file TextToSpeech.py.
RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Response.basename |
A static basename for the audio data file, returned from the platform service.
Ignore this field. May be usefull in future implementations.
Definition at line 81 of file TextToSpeech.py.
RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Response.encoding |
Codec used to encode the audio data payload.
Definition at line 77 of file TextToSpeech.py.
RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Response.error |
Error message.
Definition at line 72 of file TextToSpeech.py.
RappCloud.CloudMsgs.TextToSpeech.TextToSpeech.Response.payload |
The audio data payload.
Payload encoding is defined by the 'encoding' json field.
Definition at line 75 of file TextToSpeech.py.