Fmod Integration

Fmod is a world class sound engine used by many AAA games. Fmod Studio is an incredibly powerful tool to manage your sounds.

ezEngine integrates Fmod with a plugin. To enable Fmod support, follow these steps:

  1. Create a free account at Fmod.com and sign in
  2. Download and install the Fmod Studio API SDK for Windows (needed to compile the Fmod plugin)
  3. Download and install Fmod Studio (only needed by people who want to edit Fmod projects)
  4. Enable Fmod in the CMake configuration
  5. Compile the engine

Using Fmod Studio

Fmod Studio has a vast number of features. Describing how it works is out of scope for this documentation. Instead have a look at these resources:

There is a set of tutorials about Fmod in Unreal, which is a very good introduction. There are also several videos about Fmod in Unity. Since most of the work is done in Fmod Studio anyway, most things that you see in those videos apply equally to ez.

Fmod Project Settings

For project wide Fmod settings, go to Editor > Project Settings > Fmod Project Settings…

Fmod settings

Important:

Although you can configure profiles for multiple platforms, at the moment only the Desktop profile will be used.

The most important thing to configure here is to choose the Masterbank file. For what a master sound bank is, please refer to the Fmod documentation. If you haven’t created any sound banks yet, you should start by creating an Fmod Studio project and come back when you have exported a master bank.

The other options are best left at their default values. See the Fmod documentation for details.

Once you have these things set up, you can create your first sound bank asset, through which you get Fmod sound data into the engine.

Sample Data

A sample Fmod Studio project is available under Data/Content/Sound, including pre-exported sound banks. These are also used by the sample projects, such as the Testing Chambers.

Scene Editing Settings

The Fmod editor plugin adds UI elements to mute sound entirely and to adjust the master volume:

Fmod UI

See Also