SpeechKit.Parameters class

ru.yandex.speechkit

public  abstract class  SpeechKit.Parameters 

SpeechKit parameters used in SpeechKit.setParameter and SpeechKit.getParameter.

Nested classes

Fields

final StringbufferCaptureTimeout

Size of the audio recording buffer, in milliseconds.

final StringencodingQuality

Quality of the audio encoding.

final StringnewEnergyWeight

"Weight" of a chunk of audio data when determining the signal power.

final StringsoundFormat

Format of audio transmitted over the network.

Field descriptions

bufferCaptureTimeout

public static final String bufferCaptureTimeout ()

Size of the audio recording buffer, in milliseconds.

Due to specific platform features, the actual size may differ from the one that is set.

encodingQuality

public static final String encodingQuality ()

Quality of the audio encoding.

For Speex, the quality of audio encoding is set as an integer between 0 and 10: 0 is minimal quality (fast encoding) and 10 is maximal audio quality (slow encoding).

newEnergyWeight

public static final String newEnergyWeight ()

"Weight" of a chunk of audio data when determining the signal power.

soundFormat

public static final String soundFormat ()

Format of audio transmitted over the network.

Possible values are described in SpeechKit.Parameters.SoundFormats.