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 bool | IsEmpty() const =0 True if the speech buffer is not empty. |
Public Functions Documentation
function SpeechBuffer
The PCM buffer of the synthesized speech.virtual const short * SpeechBuffer() const =0
function SampleRate
The sample rate of audio in the buffer.virtual const int & SampleRate() const =0
function NumFrames
The number of frames of audio in the buffer.virtual const int & NumFrames() const =0
function NumChannels
The number of channels that the audio in the buffer consists of.virtual const int & NumChannels() const =0
function IsEmpty
True if the speech buffer is not empty.virtual bool IsEmpty() const =0