Codice per il prodotto "DeSpeect: un'interfaccia grafica per Speect"
A GUI and debugging tool for the Speect TTS library.
DeSpeect is a graphical interface for Speect [Meraka Institute (2008-2013)], a library for the creation of vocal synthesis systems, which facilitates the inspection of its internal state during its execution and the writing of tests for its functionality.
You can run DeSpeect in two different ways, according to your needs:
build.sh
script in the root directoryThis will install Speect, create a build for DeSpeect in DeSpeect/build/
and run the related tests.
Installer.sh
script in the root directoryThis will install Speect and create a build for DeSpeect, without running any test.
The tests for DeSpeect are implemented through the Google Test framework and they are run at every build by Travis CI.
In order to run the tests locally, you need to perform a developer build which runs the tests automatically. Once you have installed the application, you can run the related tests by entering the build directory (DeSpeect/build/
) and using either the ctest
or unit_tests
commands.
You can run DeSpeect in two different ways, depending on how decided to install it:
DeSpeect/build/bin/
pathmain
fileDeSpeect
In order to visualize a Speect internal graph, you just need to load a .json
voice file clicking on the Load Voice
button in the main window (sample voices are stored in the SpeectInstaller/voices/
directory), and subsequently execute Speect through the Run All
or Run Step
button. Notice that Run All
will execute all the utterance processors, while Run Step
will only run the first utterance processor (see Speect docs. The following is a detailed sample procedure of how to visualize a graph:
Load Voice
buttonSpeectInstaller/voices/cmu_arctic_slt/voice.json
path (if you opted for a dev install) or DeSpeectInstall/Test/cmu_arctic_slt/voice.json
(if you opted for a user install) Run step
button in order to execute the utterance processors list step by step, or click Run all
in order to execute the whole list