Class YSKSoundFormat

Formats of synthesized speech.

The current version of the library supports uncompressed PCM and Opus.

Class Methods

+opus

Sets the Opus format.

+pcm

Sets the PCM format.

Method Detail

+opus

+ (instancetype)opus

Sets the Opus format.

Returns:

Object of the YSKSoundFormat class that corresponds to the selected audio format.

+pcm

+ (instancetype)pcm

Sets the PCM format.

Returns:

Object of the YSKSoundFormat class that corresponds to the selected audio format.