Scratch VUI (Voice User Interface) is an accessible, audio user interface for Scratch. The conversational interface enables and facilitates a screen-less experience so children with low vision or blindness may engage with the core ideas behind Scratch--ideas surrounding creative learning and computational thinking. Through the interface, users may create, edit, and play projects through conversation with an agent, Scratch.
Here's an example of a linear process of creating a project:
You: Scratch, new project.
Scratch: What do you want to call it?
You: Call the project “Tell me a knock knock joke.”
Scratch: Okay. When you say “Scratch, tell me a knock knock joke”, I’ll play the project. What’s the first step?
You: You say, “knock, knock.”
Scratch: Okay, what’s the next step?
You: When I say “who’s there?”, you say “King tut”.
Scratch: Okay, what’s the next step?
You: When I say, “King Tut who?”, you say “King Tut-key fried chicken!”.
Scratch: Okay, what’s the next step?
You: That’s it.
Scratch: Cool, now you can say, “Scratch, tell a knock knock joke” to play the project.
You: Scratch, tell me a knock knock joke!
cd scratch-vui
npm install
Running the project requires Node.js to be installed.
npm start
Open the following link in the Chrome browser
http://localhost:8080/build/prototype.html
Start interacting with the system by
Call the project “Tell a knock knock joke.”
You say, “knock, knock.”
When I say “who’s there?”, you say “King tut”.
When I say, “King Tut who?”, you say “King Tut-key fried chicken!”.
That’s it.
Scratch, tell a knock knock joke.
In the system, there are three main contexts you can be in: Home, Editing Project, and Playing Project.
The transitions in the diagram are each labeled by a trigger type. When you say a phrase that can be matched to one of these trigger types and you are in the appropriate starting state, you will transition to the end state.