YSKSpeechKit global constants

Various YSKSpeechKit parameters and their values for use in the setParameter:withValue: and getParameterValue: methods.

Variables

YSKBufferCaptureTimeout

Size of the audio recording buffer, in milliseconds.

YSKEncodingQuality

Quality of the audio encoding.

YSKNewEnergyWeight

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

YSKSoundFormat

Format of audio transmitted over the network.

YSKSoundFormatPcm

Uses uncompressed PCM.

YSKSoundFormatPcmIfWifi

If there is a WiFi connection, PCM is used.

In all other cases, Speex is used.

YSKSoundFormatSpeex

Always uses Speex.

Описание переменных

YSKBufferCaptureTimeout

NSString *const YSKBufferCaptureTimeout

Size of the audio recording buffer, in milliseconds.

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

YSKEncodingQuality

NSString *const YSKEncodingQuality

Quality of the audio encoding.

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

YSKNewEnergyWeight

NSString *const YSKNewEnergyWeight

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

YSKSoundFormat

NSString *const YSKSoundFormat

Format of audio transmitted over the network.

The current version of the library supports uncompressed PCM and Speex. To set Speex quality, use YSKEncodingQuality.

YSKSoundFormatPcm

NSString *const YSKSoundFormatPcm

Uses uncompressed PCM.

YSKSoundFormatPcmIfWifi

NSString *const YSKSoundFormatPcmIfWifi

If there is a WiFi connection, PCM is used.

In all other cases, Speex is used.

YSKSoundFormatSpeex

NSString *const YSKSoundFormatSpeex

Always uses Speex.