Before you can use spatial audio in a HoloLens app, you need to prepare Unity for it. In this lesson, learn which settings you need to change.
- Out of the box, Unity supports stereo sounds.…- However, if you want to use spatial sounds,…we need to change a couple of things.…This is the one thing the toolkit menus don't do for us.…We have to do it ourselves.…Basically, it comes down to replacing…the default sound engine with a new one.…If that sounds scary, don't worry.…It's easier than you might think.…Now for this part, I'm going to continue on our…Hello World app.…In Unity, in the Edit menu, click Project Settings.…
And then, Audio.…In the inspector on the right-hand side,…you see all of the components that make part of this.…We need to change the spatializer.…This is the software component that makes…spatial audio possible.…By default, as you can see, it's set to None.…This makes sense - most hardware, such as laptops and…mobile devices have no way of playing spatial sounds.…We need to change this to the Microsoft HRTF Spatializer.…This stands for the Microsoft Human Response Transfer…Functions, which is basically the code that calculates…what sounds sound like when coming from a certain direction.…
Join instructors Dennis Vroegop and James Ashley for this introduction for HoloLens app development. They show you how to set up your development environment, including Unity and the HoloToolkit; how to deploy to HoloLens and the HoloLens emulator; and how to build apps that accept user input via gazes, tapping, and speech. Then discover how to use spatial mapping to detect your surroundings and analyze your environment with spatial understanding. Learn how to implement spatial sound that adds to the user's existing environment, and synchronize data to create shared experiences. Along the way, learn how it all comes together in two simple 3D apps: a visualization for enterprise business and a platform game.
- Installing Unity, Visual Studio, and the HoloToolkit
- Building an app in Unity
- Deploying to HoloLens or the HoloLens emulator
- Gaze and tapping
- Spatial mapping and spatial understanding
- Spatial sound
- Shared holograms
- Creating 3D enterprise apps
- Creating 3D games
Skill Level Intermediate
1. Set Up Your Development Environment
Download the HoloToolkit2m 32s
2. Basic Configuration and Deployment
3. Basic Interaction
4. Use HoloToolKit
5. Spatial Sound
6. Shared Experiences
7. Games and Enterprise Applications on the HoloLens
Next steps1m 18s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.