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

SoundBuffergetAudio()

Returns an object of the SoundBuffer class.

StringtoString()

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 ()