Develop
Develop
Select your platform

Voice Command

Updated: Sep 4, 2024
The Voice Command feaures enables you to bring voice controls to your app experiences. Use the feature to enhance the AR/VR experience with more natural and flexible ways for people to interact with the app. For example, voice commands can shortcut controller actions with a single phrase, or interactive conversation can make the app more engaging.

Creating a Wit.ai app

Please follow this Quickstart guide to create an app on Wit.ai.

Adding Voice Commands to your Map

  1. In the Unreal editor, create a Wit configuration file for the Wit app. For more information, see Setting up your Wit Configuration file in Unreal.
  2. Open the map to which you want to add the Voice Command.
  3. Go to Blueprint > New Empty Blueprint Class... > All Classes > Search for AppVoiceExperience. SelectAppVoiceExperience > use BP_AppVoiceExperience for the name.
    "Adding the AppVoiceExperience Blueprint"
    "Confirming adding the AppVoiceExperience Blueprint"
  4. Drag BP_AppVoiceExperience onto the map.
  5. In World Outliner, select BP_AppVoiceExperience and go to Details > Voice > Configuration. Set it to the Wit configuration file you created earlier.
  6. Add event handling to BP_AppVoiceExperience as needed.

Samples

Please download and run Voice SDK Samples Project to learn how we use Voice Command in our game.
Note: The Voice Command sample is in this map.
Did you find this page helpful?