How to enable the new audio engine in your Unreal Engine 4 Project

Included first in Unreal Engine version 4.17, the new audio engine gives developers access a wide array of powerful features and the accompanying blueprint nodes to create and control oscillators, synths and much more.

Configuration

Config Directory

All files that we will be creating or editing will be in the config folder. To find this folder navigate to your project folder and open the config folder.

Enabling the Features

Here I will show you how to enable the new audio engine for each platform.

You only need the folder and files for the platform that you wish to build your game for.

Here are the platforms and their folder names:

Inside the platform folder that you wish to use we need to create the configuration file for that platform.

To create these folders right click in the folder and create a new text document. From there you can change the name and extension to make it work with the engine.

Configuration File Names

Windows Folder – WindowsEngine.ini

MacOS Folder – MacEngine.ini

iOS Folder – IOSEngine.ini

Android Folder – AndroidEngine.ini

Make sure the extension is exactly .ini for the engine to understand the file.

If this alert box shows press YES to create the file.

If done correctly the file type should be “Configuration setting”.

To edit .ini files, right click the file and click on the edit option.

WindowsEngine.ini

Open WindowsEngine.ini, copy and paste this into the text editor then save and then quit:

[Audio]
AudioDeviceModuleName=AudioMixerXAudio2 

MacEngine.ini

Open MacEngine.ini, open copy and paste this into the text editor then save and then quit:

[Audio]
AudioDeviceModuleName=AudioMixerAudioUnit

IOSEngine.ini

Open IOSEngine.ini, copy and paste this into the text editor then save and then quit:

[Audio]
AudioDeviceModuleName=AudioMixerAudioUnit

AndroidEngine.ini

Open AndroidEngine.ini, copy and paste this into the text editor then save and then quit:

[Audio]
AudioDeviceModuleName=AudioMixerAndroid

This is all you need to tell the engine what audio engine to use. The next step is to enable the plugins so the editor gives you access to the blueprint nodes and additional audio blueprint classes.

Enabling the Plugins

To access the plugin browser press Edit then plugins from the drop down menu.

The two plugins we need to enable are in the Audio section of the plugins browser:

Enable the sound utilities and Synthesis and DSP effects plugins

The final step left to do is to restart the editor.

Conclusion

You are all set! There are many powerful tools in the new audio engine for you to now use in your new or existing projects. My main use for the new audio engine is to control the VOIPTalker component with audio effects through a source effect chain.

As the new audio engine is experimental not much documentation exists. I encourage you to create a new blueprint and look through all of the synth nodes and make something new. The best way to learn how these systems work is to dive headfirst and play around with it.

Leave a Reply

Your email address will not be published. Required fields are marked *