User guide
×
Menu
Index

Sample VCH file

Sample VCH file
1

File name

1. File name
The file name, the contextual command section name and the changeTitle parameter must all match.
 
2

Voice commands that are always available

2. Voice commands that are always available
 
Contains commands that are always available.  Usually commands that activate the contextual section and the associated configuration file in the Quadstick.
3

Spoken phrase

3. Spoken phrase
Word or phrase the program is listening for.
4

Commands

4. Commands
The text parameter is passed to the Quadstick via the serial or USB connection.
 
5

Contextual Command Section

5. Contextual Command Section
Commands following the label will only be active when the title of the QMP contains the word before the colon.  The label must match the name of the VCH file.  In this example, the VCH file is named "cod.vch" and the contextual section begins with "cod:".  Commands above the contextual section are always available.  In this example, changeTitle("cod") will change the title of the QMP to include the word "cod" which will activate this section.
6

changeTitle Command

6. changeTitle Command
Sets the title of the QMP to include the word parameter which activates the contextual command section.  Without this command, the commands below the contextual section will not be active.  Usually paired with a "load,something.csv" command to select the associated configuration file in the Quadstick's flash.