Downloading the samples
-
Connect to FSWA
-
In the search bar type
cpp-samples-tts -
Sort by date
-
Download the recent one
How to build
Please follow the procedure in the page How-to: Download, Compile & Run C++ Samples.
Start the sample
Everything you type in the console will be played on your default audio output device. Speaker language is English (US). You can also input a file path containing either raw text or SSML text to be played.
How to add a new voice
First of all you need to add the voice files in data/languages, following the architecture of your VDK project.
Then edit config/vsdk.json to either add a new channel or add the voice to the existing channel.