<img src="https://certify.alexametrics.com/atrk.gif?account=bIEZv1FYxz20cv" style="display:none" height="1" width="1" alt="">
Skip to content
Blog / Latest Articles

Spatialized Audio in a Virtual World

by Philip Rosedale Cofounder + CEO

This is a classic audio clip that we are all big fans of here… the famed Virtual Barber Shop.

As we started to think about designing the audio for our new world, we listened to that clip and asked ourselves why it shouldn’t be possible to create effects that lifelike, or even better, in a virtual environment? The combination of network bandwidth and device processing power makes it feasible to have a virtual world where one or more audio ‘servers’ can do the work of computing a stereo signal to be fed to each ear of the listener. If we are also getting low-latency data about the exact rotation of the listener’s head, we can do a lot of amazing things, and can ultimately reproduce all of these effects.

For example, sound in the real world arrives at a slightly different time at each ear, depending on where the sound was coming from (and this effect is also different depending on the frequency of the sound). This difference of a bit less than one millisecond corresponds to 30 or so samples in a 44Khz audio playback system, meaning that the effect can be easily be created by shifting the left and right streams by a few samples in each direction. And this effect works quite nicely, as the clip above illustrates. What the clip cannot demonstrate, though, is how compelling the effect is when it is produced by turning one’s own head (whose rotation we capture in our lab with gyros attached to the frame of a pair of glasses).

We’re working on combining a number of effects like these, as well as creating support for a very large number of simultaneous sources of audio, to hopefully create an audio ‘environment’ that will be an interesting to explore as the real world.

 

 
Published by Philip Rosedale April 25, 2013

Which spatial audio solution should you use?

icon-api
Spatial Audio API

Ideal for Web-based Applications

Find out more
icon-local-spatializer
Local Spatializer

Ideal for Native Applications

Find out more
blog-circles

Don't Miss Out

Subscribe now to be first to know what we're working on next.

By subscribing, you agree to the High Fidelity Terms of Service

Ready to build?

Integrating spatial audio into your project is a snap. Here's everything you need to get started:
book-icon

Documentation

Detailed docs covering how our API works and sample code.
examples-icon

Guides + Examples

Complete guides and walkthroughs covering all you’ll need to get started.