O'Reilly logo

HoloLens Beginner’s Guide by Jason Odom

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Speech Input Source

While our code is already set up for keywords to work, we still need to wire up the keywords to our app. In this section, we will be adding two new components to the LeftRect and RightRect objects: the Speech Input Source and the SetGlobal Listener. 

  1. Select the LeftRect object.
  2. Click on the Add Component button.
  3. Scroll down to Scripts and click on HoloToolkit.Unity.InputModule.
  4. Scroll down and select Speech Input Source:

You will see the No keywords have been assigned! warning. Let's fix that. 

  1. Click on the Add keyword plus sign on the right-hand side of the component:
  1. A line will appear; under Keyword, type change ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required