Get raw audio of synthesized speech
How to get raw audio from text-to-speech synthesis.
阅读时间1 分钟最后更新于 18 小时前
You can synthesize speech into an audio buffer for your direct use rather than having it maintained internally by the Vivox SDK.
ITextToSpeech::SpeakToBuffer()ITTSAudioBuffer *Buffer;VivoxCoreError Status = MyLoginSession->TTS().SpeakToBuffer("Some Text", &Buffer);// If successful, Buffer will contain audio samples and metadata for the synthesized speech.