This is a demo game for Voice SDK. It demonstrates how to add Voice Commands and TTS into an Unreal game. In the game user can use Voice Commands to change objects' color.
UE4.27, UE5.0 and UE5.1.
Windows, Oculus, Android.
⛳ By following below steps you will be able to get the sample app running on your computer, you will be able to use your voice to interact with the game to change objects' color.
-
Create a wit.ai app:
-
Install the plugin from Marketplace
-
Download this sample project, and unzip it.
-
Double click
voicesdk_unreal_demo.uproject
to open the project -
Enable the Plugin:
-
Unreal Editor-> Settings-> Plugins-> Installed -> Voice -> VoiceSDK
-
Tick the checkbox to enable the plugin (Editor restart is needed)
- Once Unreal editor opened, then open the
ShapeConfiguration
file fromContent/VoiceSDK/Demo/Configuration
and put your Wit.ai'sServer Access Token
andClient Access Token
there. Tokens can be found here:
-
Play
the game and now you can try our magic: ✨Make the cube red
-
You can use the input box to give a text command (e.g.
Make the cube red
) and then click theSend
button to execute -
Or click the
Acitvate
button to give a voice command.
-
Congratulations you made it! 🏆
If you cannot work it out, please check out the below video which shows how people follow the above steps to get the sample app to run:
If you still cannot get it to run, please feel free to create an issue, we will help you.
The license for voicesdk-unreal-samples
can be found in LICENSE file in the root directory of this source tree.
You can also find the applicable Oculus License here: https://developer.oculus.com/licenses/oculussdk
The MIT license applies to only certain, clearly marked documents. If an individual file does not indicate which license it is subject to, then the Oculus License applies.
Our terms of use can be found at https://opensource.facebook.com/legal/terms.
Use of Wit.ai services fall under the terms of use of Wit.ai found here: https://wit.ai/terms.
Our privacy policy can be found at https://opensource.facebook.com/legal/privacy.
The privacy policy for the Wit.ai service can be found at https://wit.ai/privacy.