|
Tutorial 1
This tutorial provides an introduction to the basic concepts involved in building a RAD application.
Instructions
First you will need to drag the appropriate objects onto the canvas.
Left click and drag the following objects from the pallet to the canvas:
Next you should arrange the icons on the canvas as illustrated below, and draw the connecting lines. Details on naming and connecting the objects can be found below the canvas image. ![]()
The next step is to configure the speech recognition. RAD will only recognize words from a specific list of words that you give it. It does not currently support continuous, or "dictation" style speech recognition. The red ports on the generic objects are the location where speech recognition is configured in RAD. If the proper words are spoken for a particular port, then the program will continue through that port and the line which connects it to the next state. In the "question" state you set the prompt to ask "Are you ready to learn?". Now you've got to configure the red ports on that state to recognize the proper words. These words will allow you to control the program flow with speech recognition.
![]() You now need to configure the right port of the "question" state. Follow the same procedure as above, but use the following list of words: no not yet *any NOTE: The *any entry is very important! When *any is added to a recognition port, the state will branch to that port if it is not confident about words in other ports. In this example, the state will branch left if it recognizes the responses "yes", "sure", "you bet", or "ok". It will branch right on "no", or "not yet". It will also branch right if it was uncertain about what the response was. This last behavior is due to the use of *any. Even if the user says something unanticipated, like "I'm afraid to learn", the *any will cause the program to branch through the right port.
Finally, click build, then run, and watch your application go!
| |||||||||||||||||||||||