Documentation

Support

Vivox Unreal SDK

Vivox Unreal SDK

ITTSAudioBuffer

Reference the ITTSAudioBuffer interface for text-to-speech audio buffers.
Read time 1 minuteLast updated 2 days ago

Text-to-speech that is synthesized into an audio buffer for direct use.
#include <ITTSAudioBuffer.h>

Public Functions

Name

virtual const short *SpeechBuffer() const =0
The PCM buffer of the synthesized speech.
virtual const int &SampleRate() const =0
The sample rate of audio in the buffer.
virtual const int &NumFrames() const =0
The number of frames of audio in the buffer.
virtual const int &NumChannels() const =0
The number of channels that the audio in the buffer consists of.
virtual boolIsEmpty() const =0
True if the speech buffer is not empty.

Public Functions Documentation

function SpeechBuffer

virtual const short * SpeechBuffer() const =0
The PCM buffer of the synthesized speech.

function SampleRate

virtual const int & SampleRate() const =0
The sample rate of audio in the buffer.

function NumFrames

virtual const int & NumFrames() const =0
The number of frames of audio in the buffer.

function NumChannels

virtual const int & NumChannels() const =0
The number of channels that the audio in the buffer consists of.

function IsEmpty

virtual bool IsEmpty() const =0
True if the speech buffer is not empty.