Adding spatial sound to our Unity model in HoloLens Part 2

Last time we looked at a rudimentary – although in some senses complicated – spatial sound implementation for our ABB IRB 6620 industrial robot model inside HoloLens. It was simple because we added a single sound at the root of the robot, and complicated because we then had to track the status of each of the robot’s parts and turn the sound off when all were stopped.

In this post we’re going to look at the second of the three design options we saw last time:

  1. A single sound is assigned to our robot
    • When the robot stops completely, so does the sound
  2. The same sound is assigned to each of the robot’s parts
    • When each part stops moving, so does the sound for that part
  3. A different sound is assigned to each of the robot’s parts
    • When each part stops moving, so does the sound for that part

It was simple enough inside Unity to copy & paste the AudioSource values from the root of the robot to each of the parts: Unity has a handy “Paste Component As New” option in the…

Read more

Leave a Comment