Downloading the samples
Connect to FSWA
In the search bar type
Sort by date
Download the recent one
How to build
Please follow the procedure in the page Compiling C++ samples with Conan.
Start the sample
$ . ./build/activate_run.sh # this temporarily exports LD_LIBRARY_PATH for you $ ./build/bin/tts-cpp $ . ./build/deactivate_run.sh # unexport LD_LIBRARY_PATH
$ .\build\activate_run.bat $ .\build\bin\tts-cpp.exe $ .\build\deactivate_run.bat
$ .\build\activate_run.ps1 $ .\build\bin\tts-cpp.exe $ .\build\deactivate_run.ps1
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.
config/vsdk.json to either add a new channel or add the voice to the existing channel.