Skip to content

Latest commit

 

History

History
 
 

text-to-speech

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Text to Speech

Installation

Maven
<dependency>
  <groupId>com.ibm.watson.developer_cloud</groupId>
  <artifactId>text-to-speech</artifactId>
  <version>5.2.0</version>
</dependency>
Gradle
'com.ibm.watson.developer_cloud:text-to-speech:5.2.0'

Usage

Use the Text to Speech service to get the available voices to synthesize.

TextToSpeech service = new TextToSpeech();
service.setUsernameAndPassword("<username>", "<password>");

Voices voices = service.listVoices().execute();
System.out.println(voices);