1 Launch VisualSceneMaker
Create a folder named tmp in the root directory, if the folder doesn't exist.
Click Run > Clean and Build Project from the main menu to clean and build the project to generate an executable file.
Click Run > Run Project from the main menu to launch Visual SceneMaker.
After VSM is launched successfully, we will be welcomed by its Welcome Screen which is similar with the following picture.
2 After we get to VSM Welcome Screen, click "New Project", type a project name "HelloWorld". Then, click on OK button to enter VSM Workspace.
3 Click on Save button to save our project to an empty folder (which will contain project.xml).
4 Click on Project Preferences button, we will get the Property Editor window which can help us set some necessary parameters.
5 Select Devices, type a name "virtualReeti", then, select the StickmanTtsExecutor from the combobox. After that, click on Add Device button. "virtualReeti" will be shown on the left side of the window.
6 Select "virtualReeti", use the add function at the botom to add smhost, smport, stickman, fullscreen, tts, license, and cereproc_library_path to the Executor.
"smhost" and "smport": IP address to connect VSM and Virtual Reeti.
"stickman" indicates which virtual character we will use. We choose "Reeti" here.
"fullscreen": The charater is shown at fullscreen when "fullscreen" is activated.
"tts" specifies the TTS library. We use "cereproc" as an example here.
"license": Path to the CereProc license. The path is not complete when we use the "Add" button. We need to append the name of the license to path by double clicking the path in the key/value list.
"cereproc_library_path": Path to the CereProc library.
A free version of CereVoice Engine SDK is available here.
To use the CereProc library on Windows, the 3rdparty/lib and/or 3rdparty/lib64 directories must be added to the path environment variables.
7 Right click on "virtualReeti", select add new agent. We can change the name of the agent by double clicking. Let's change the name to "reeti".
8 Select the agent reeti, use the add button at the botom to add the language parameters to the agent.
"default-voice": language used by the agent (German:de or English: en)
"en"(or "de"): the path of the voice file for CereProc. If we choose "en" for "default-voice", we must give the path for the "en", otherwise we give the path for the "de".
After that, close the Property Editor window to return to VSM Workspace.
9 In the Workspace, click on the add button of the Scene tab in Script Editor and change the example template to:
scene en HelloWorld
reeti: Hello World![Smile].
10 Drag two simple nodes to the workspace and rename them "start" and "end" respectively. Make sure that the node named "start" is actually the start node (look for the red arrow).
Drag a timeout edge to the "start" node and then click on the "end" node.
Drag "HelloWorld" from "Scenes" list in the Building Block panel on the left side to the "end" node.
11 Click on the Play button on the top toolbar, you will see reeti says "Hello World!" and smiles.