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:
- Create a free account at Fmod.com and sign in
- Download and install the Fmod Studio API SDK for Windows (needed to compile the Fmod plugin)
- Download and install Fmod Studio (only needed by people who want to edit Fmod projects)
- Enable Fmod in the CMake configuration
- 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 Studio for UE4 Video 1 - Getting Started
- Audio for Unity 5: Viking Village (1/5) - Getting Started
Fmod Project Settings
For project wide Fmod settings, go to Editor > Project Settings > Fmod Project Settings…
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.
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: