Documentation

Support

Vivox Core SDK

Vivox Core SDK

vx_tts_utterance

Learn about text-to-speech functionality.
Read time 1 minuteLast updated 20 hours ago

Text-to-speech utterance.
#include <Vxc.h>

Public Attributes

Name

const vx_tts_utterance_impl_t *constutterance_obj
The backing implementation of the utterance.
const short *speech_buffer
The PCM buffer of synthesized speech.
intsample_rate
The sample rate of audio in the utterance.
intnum_frames
The number of frames of audio in the utterance.
intnum_channels
The number of channels that the audio in the utterance consists of.

Public Attributes Documentation

variable utterance_obj

const vx_tts_utterance_impl_t *const utterance_obj;
The backing implementation of the utterance.

variable speech_buffer

const short * speech_buffer;
The PCM buffer of synthesized speech.

variable sample_rate

int sample_rate;
The sample rate of audio in the utterance.

variable num_frames

int num_frames;
The number of frames of audio in the utterance.

variable num_channels

int num_channels;
The number of channels that the audio in the utterance consists of.