
After completing this lecture, you will know how to:
Where to download the speech recognition library
Setup a new game project
After this video, you will know how to:
Enable microphone recording in the Godot engine
How to set up audio buses for recording in the Godot engine.
After this lecture, you will know how to:
Initialize the speech voice recognition library
Code push-to-talk
Prevent the application/game from crashing when using the speech recognition library
Get the assigned keyboard key from the input map in code
Get the microphone input peak volumes
Run the speech recognition in it's own thread
After this lecture, you will know how to create a simple user interface in the Godot engine.
After this lecture, will know how to connect and use the speech recognition singleton with the user interface.
In this lecture we:
Demo the application.
Take note that there currently is a thread bug in the Godot engine 3.4.4, throwing a thread warning when recording with the microphone, this also happens in their microphone recording demo. Hopefully this will be fixed in the near future by the Godot team.
You can download the completed Godot Mono Project as a resource in this section.
A new era of Gaming
A new era of gaming is about to open up with the amazing tool of offline speech recognition. For many years, speech recognition has been available, but then often as part of a operating system, or an online web service, so have therefore never been portable or friendly to the memory/CPU. However, this is all about to change, and is in fact already available.
Trying not to waste you time
I have created the course to be as short as possible, so you can get the "meat", and get thing up and running as quickly as possible, with other words: I'm trying not to waste your time.
What you will learn
Today most solutions for speech recognition are online-based. But in this course, you will learn how to take advantage of a speech recognition library that offers offline speech recognition, with lightweight memory and CPU usage, thus optimal to incorporate into your games. Even though the speech recognition may not be perfect, it is "good enough" to be used for games, and works with voices from children, male and females.
In the course, you will step by step create a simple project which you can use as your springboard to start and create your own speech controlled games.
It includes:
Setting up the speech library
Setting up Godot for microphone recording
Getting the speech library to work together with the Godot engine
Complete project to download and Edit/Run in the Godot engine
Your instructor will be Johan Forsblom, A systems and games developer with a Bachelor of science, and over 7+ years of experience working as a Systems developer.