Spatial Audio Temple

Showcasing spatialization technologies in the new Unreal Audio Engine.

Windows
MacOS
Linux

The Spatial Audio Temple demonstrates both the native spatialization approaches of Unreal Engine and a variety of technologies that take advantage of the engine's support for third-party spatialization plugins. It is intended as a subtle and atmospheric experience; one that highlights the nuance possible with well-resolved spatialization technology.

It is a repurposing of our Sun Temple Map, chosen for its realistic architecture and materials (which we found useful in cases of demonstrating wave propagation).

We designed and implemented an ambient soundscape to bring the gentle seaside temple to life. A solo viola improvisation provides listeners with a focal sound, which you can reposition at runtime to hear the effects of spatialization, occlusion, and indirect wave propagation.

We also implemented a character controller with a first-person footstep system to provide the user with a listener-to-listener reference point for the soundscape.

Playing the Level

The player controller is set up in a typical first-person perspective. Move the mouse to rotate the camera, and use the WASD keys for navigation:

Key

Movement

W

Forward

A

Left

S

Backward

D

Right

The following map shows four important locations in the Level:

SpatialAudioTempleImage_Overview.png

You'll start at location 4 in the map above.

Statues at the other locations act as emitters for the music. When you first play the Level, the music will be emitting from the statue at location 2.

Using the number keys at the top of your keyboard, you can control which emitter position is active. You can also mute the music.

Key

Effect

0

Mute the music.

1

Play music from Statue One, which is located in the balcony area at the far end of the temple.

SpatialAudioTempleImage_Location1.png

2

Play music from Statue Two, which is located in the large interior chamber.

SpatialAudioTempleImage_Location2.png

3

Play music from Statue Three, which is located just inside the temple corridor.

SpatialAudioTempleImage_Location3.png

Use headphones for the best effect, as all of the third-party plugins output binaural stereo. However, the built-in audio is also effective in 7.1 surround sound.

Auditioning Plugins

By default, the Project is set to use Built-in spatialization plugin. You can change this setting to try the effects of spatialization plugins from other third-party vendors.

To audition any of the other plugins, use the following general procedure:

  1. Enable the third-party plugin you want to try.

  2. Specify the specific Spatialization, Reverb, and Occlusion plugins to use.

  3. Load the Level that is designed for use with the third-party plugin you chose.

    Because the third-party plugins are so different in their approaches, we've designed separate Levels with different implementations.

See the following sections for step-by-step instructions.

Built-In Plugins

Steps

  1. With the project open, select Edit > Project Settings from the main menu.

    SpatialAudioTempleImage_EditProjectSettings.png

  2. Navigate to the Platforms > Windows category, and find the Audio settings.

  3. Under Audio, load the Built-In set of plugins:

    • Spatialization Plugin: Built-In Spatialization

    • Reverb Plugin: Built-In Reverb

    • Occlusion Plugin: Built-In Occlusion

    SpatialAudioTempleImage_NativePlugins.png

  4. From the Content Browser, under Content > Maps, load the SunTempleNativeAudio map.

    SpatialAudioTempleImage_NativeMap.png

  5. Play the level .

Resonance Audio

Steps

  1. With the project open, select Edit > Plugins from the main menu.

    SpatialAudioTempleImage_EditPlugins.png

  2. Navigate to the Built-In > Audio category.

    SpatialAudioTempleImage_PluginsBuiltInAudio.png

  3. Enable the Resonance Audio plugin.

    SpatialAudioTempleImage_ResonanceAudioPlugin.png

  4. Restart the editor when prompted.

    SpatialAudioTempleImage_RestartEditor.png

  5. With the project open, select Edit > Project Settings from the main menu.

    SpatialAudioTempleImage_EditProjectSettings.png

  6. Navigate to the Platforms > Windows category, and find the Audio settings.

  7. Under Audio, load the Resonance Audio set of plugins.

    • Spatialization Plugin: Resonance Audio

    • Reverb Plugin: Resonance Audio

    • Occlusion Plugin: Built-In Occlusion

    SpatialAudioTempleImage_ResonancePlugins.png

  8. From the Content Browser, under Content > Maps, load the SunTempleResonanceAudio map.

    SpatialAudioTempleImage_ResonanceMap.png

  9. Play the level .

Steam Audio

Steps

  1. With the project open, select Edit > Plugins from the main menu.

    SpatialAudioTempleImage_EditPlugins.png

  2. Navigate to the Built-In > Audio category.

    SpatialAudioTempleImage_PluginsBuiltInAudio.png

  3. Enable the Steam Audio plugin.

    SpatialAudioTempleImage_SteamAudioPlugin.png

  4. Restart the editor when prompted.

    SpatialAudioTempleImage_RestartEditor.png

  5. With the project open, select Edit > Project Settings from the main menu.

    SpatialAudioTempleImage_EditProjectSettings.png

  6. Navigate to the Platforms > Windows category, and find the Audio settings.

  7. Under Audio, load the Steam Audio set of plugins.

    • Spatialization Plugin: Steam Audio

    • Reverb Plugin: Steam Audio

    • Occlusion Plugin: Steam Occlusion

    SpatialAudioTempleImage_SteamPlugins.png

  8. From the Content Browser, under Content > Maps, load the SunTempleSteamAudio map.

    SpatialAudioTempleImage_SteamMap.png

  9. Play the level .

Oculus Audio

Steps

  1. With the project open, select Edit > Plugins from the main menu.

    SpatialAudioTempleImage_EditPlugins.png

  2. Navigate to the Built-In > Audio category.

    SpatialAudioTempleImage_PluginsBuiltInAudio.png

  3. Enable the Oculus Audio plugin.

    SpatialAudioTempleImage_OculusAudioPlugin.png

  4. Restart the editor when prompted.

    SpatialAudioTempleImage_RestartEditor.png

  5. With the project open, select Edit > Project Settings from the main menu.

    SpatialAudioTempleImage_EditProjectSettings.png

  6. Navigate to the Platforms > Windows category, and find the Audio settings.

  7. Under Audio, load the Oculus Audio set of plugins.

    • Spatialization Plugin: Oculus Audio

    • Reverb Plugin: Oculus Audio

    • Occlusion Plugin: Built-In Occlusion

    SpatialAudioTempleImage_OculusPlugins.png

  8. From the Content Browser, under Content > Maps, load the SunTempleOculusAudio map.

    SpatialAudioTempleImage_OculusMap.png

  9. Play the level .

Tags
Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback