Example usage for com.amazonaws.services.polly.model OutputFormat Mp3

List of usage examples for com.amazonaws.services.polly.model OutputFormat Mp3

Introduction

In this page you can find the example usage for com.amazonaws.services.polly.model OutputFormat Mp3.

Prototype

OutputFormat Mp3

To view the source code for com.amazonaws.services.polly.model OutputFormat Mp3.

Click Source Link

Usage

From source file:com.waltercedric.tvprogram.plugins.reader.PollyTTSReader.java

License:Open Source License

private SynthesizeSpeechRequest newRequest() {
    SynthesizeSpeechRequest tssRequest = new SynthesizeSpeechRequest();
    tssRequest.setVoiceId(config.getVoiceid());
    tssRequest.setOutputFormat(OutputFormat.Mp3);

    return tssRequest;
}