Working with Say It Module.. Please help us...
jljkstudent
Posts: 2
Hello, I'm working on a project using the Say It Module and Basic Stamp 2 Module.
The point of my project is to control a "text-input based adventure game" using voice command.
The game is written in C, and as of right now, it takes in input such as "go north" or "use bomb" and the character moves around in the maze, fighting monsters, trying to get to the finish line.
I want to use the Say It Module to play this game via speech.
Right now, I've downloaded Say It GUI 1.1.5, connected Say It Module to my laptop, and followed the instruction manual that came with Say It Module.
I've recorded and trained all 15 commands needed for the game into 5 different groups.
Some groups have index 0,1,2,3 and some others just have index 0.
I've tested with my partner and the device recognizes all the commands fine.
Within the group, whatever I say, "blinks".
Now my next step is to generate the codes.
Following the manual, I've clicked "Generate Code", then saved it as Basic Stamp file, opened it using BASIC Stamp Editor v2.5.1.
Now, what I don't understand here, that's not explained in the manual is,
what is exactly generated here?
I was expecting different codes to be generated every time it recognized a different command but I don't understand what is generated by clicking "Generate Code".
The manual says:
Once the program is opened in the BASIC Stamp Editor, there will be portions of the code that
will indicate where you will place the commands that will be used with the trained words. You will
see a PAUSE 1 with '-- write your code here comments.
What do I need to write at '-- write your code here?
Basically what I need to do is,
when Say It Module recognizes "walk east"
I need the text "walk east" to be inputted to the game.
When Say It Module recognizes "use bomb"
I need the text "use bomb to be inputted to the game, and so on.
Can someone help me with this problem?
Thank you so much for your interest.
The point of my project is to control a "text-input based adventure game" using voice command.
The game is written in C, and as of right now, it takes in input such as "go north" or "use bomb" and the character moves around in the maze, fighting monsters, trying to get to the finish line.
I want to use the Say It Module to play this game via speech.
Right now, I've downloaded Say It GUI 1.1.5, connected Say It Module to my laptop, and followed the instruction manual that came with Say It Module.
I've recorded and trained all 15 commands needed for the game into 5 different groups.
Some groups have index 0,1,2,3 and some others just have index 0.
I've tested with my partner and the device recognizes all the commands fine.
Within the group, whatever I say, "blinks".
Now my next step is to generate the codes.
Following the manual, I've clicked "Generate Code", then saved it as Basic Stamp file, opened it using BASIC Stamp Editor v2.5.1.
Now, what I don't understand here, that's not explained in the manual is,
what is exactly generated here?
I was expecting different codes to be generated every time it recognized a different command but I don't understand what is generated by clicking "Generate Code".
The manual says:
Once the program is opened in the BASIC Stamp Editor, there will be portions of the code that
will indicate where you will place the commands that will be used with the trained words. You will
see a PAUSE 1 with '-- write your code here comments.
What do I need to write at '-- write your code here?
Basically what I need to do is,
when Say It Module recognizes "walk east"
I need the text "walk east" to be inputted to the game.
When Say It Module recognizes "use bomb"
I need the text "use bomb to be inputted to the game, and so on.
Can someone help me with this problem?
Thank you so much for your interest.
Comments
Dave