Adding voice to RockOn

We will add this prefab to our RockOn app. Let us make a game out of it. We can add guitars to our world by tapping on a location. When we do that, we see the new guitar and we hear a sound coming from that location. Would it not be fun to have someone tell us to place an instrument somewhere? I suggest we make the following changes:

  1. Have the SpatialVoiceGenerator prefab in our app.
  2. Wait a little while, somewhere between five and ten seconds.
  3. Let the system tell us: Place the guitar here.
  4. The voice should come from the direction in which we want the instrument to be placed.

Later, we can change this to include multiple instruments. If we also have drums, bass, microphones, and so on, we can easily change the spoken ...

Get Microsoft HoloLens Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.