Skip to main content
Version: 14 May 2024

Voice Commands

The Magic Leap 2 offers Speech Commands, which allow applications to perform custom and system actions. When enabled, users can use their voice to interact with applications on the device. The can also be used to perform system tasks, such as changing the volume of audio, exiting an application or taking a camera capture, in place of using other input methods. Notably, these speech commands work offline which means they can be used even when there is no network connection.

System Voice Commands

Voice Commands are short, spoken phrases that can tell your Magic Leap 2 to carry out specific actions, such as reducing the volume by saying, "Hey Magic Leap, turn the volume down."

Magic Leap 2 OS has built-in system-level Voice Commands and will offer the ability to create your own at the application level in the future.

See the Customer Care Portal to view the complete list of system voice commands.

Custom Voice Commands

Unlike system-wide voice commands that are initiated by saying "Hey Magic Leap", you do not need to say "Hey Magic Leap" for voice input to work in your Unity app. To avoid conflicts between system and app voice commands, the API automatically stops voice processing when the application is paused and resumes it when resuming the app.

Magic Leap recommends using the Voice Intent Development Toolkit (VIDTK) to create and deploy custom voice commands. The toolkit provides validation and guidence within the toolkit UI. These are not available when you are creating voice commands using other tools, such as the Unity Editor.