(require("watson-speech/text-to-speech/synthesize"))(options) → {Audio}
Synthesize and play the supplied text over the computers speakers.
Creates and returns a HTML5 <audio> element
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Returns:
- Type
- Audio