Package | Description |
---|---|
com.ibm.watson.developer_cloud.text_to_speech.v1 |
Text to Speech v1.
|
com.ibm.watson.developer_cloud.text_to_speech.v1.model |
Modifier and Type | Method and Description |
---|---|
ServiceCall<InputStream> |
TextToSpeech.synthesize(String text,
Voice voice,
AudioFormat audioFormat)
Synthesize text using a
Voice and AudioFormat . |
ServiceCall<InputStream> |
TextToSpeech.synthesize(String text,
Voice voice,
AudioFormat audioFormat,
String customizationId)
Synthesize text using a
Voice and AudioFormat . |
Modifier and Type | Field and Description |
---|---|
static AudioFormat |
AudioFormat.BASIC
BASIC format, single-channel audio encoded using 8-bit u-law (or mu-law) data sampled at 8 KHz (value is
"audio/basic").
|
static AudioFormat |
AudioFormat.FLAC
FLAC format (value is "audio/flac").
|
static AudioFormat |
AudioFormat.OGG
OGG format (value is "audio/ogg; codecs=opus").
|
static AudioFormat |
AudioFormat.OGG_VORBIS
OGG_VORBIS format (value is "audio/ogg; codecs=vorbis").
|
static AudioFormat |
AudioFormat.PCM
Deprecated.
|
static AudioFormat |
AudioFormat.WAV
WAV format (value is "audio/wav").
|
Modifier and Type | Method and Description |
---|---|
static AudioFormat |
AudioFormat.getPCM(int rate)
Linear 16-bit Pulse-Code Modulation (PCM) format (value is "audio/l16").
|
Copyright © 2015–2016 IBM Watson. All rights reserved.