Class Synthesis

ru.yandex.speechkit

public  class  Synthesis 

The class contains the result of speech synthesis.

Constructors

Synthesis(SoundBuffer audio)

Creates an object of the Synthesis class.

Methods

SoundBuffer getAudio()

Returns an object of the SoundBuffer class.

String toString()

Constructor Detail

Synthesis

public Synthesis (SoundBuffer audio)

Creates an object of the Synthesis class.

Parameters:
audio

Audio data placed in the SoundBuffer class.

Method Detail

getAudio

public SoundBuffer getAudio ()

Returns an object of the SoundBuffer class.

Returns:

A buffer that contains the result of speech synthesis.

toString

public String toString ()