How to add audio in a FMOD+Unity build

Hi,

Thanks for clarifying,

To do this you’ll have to use Programmer Instruments, their setup can be found in the Working With Instruments section of the FMOD Studio docs. In conjunction with Programmer Sounds, an example of how to use these together can be found in the Scripting Examples section of the Unity Integration docs.

In the example instead of using SteamingAssetsPath in the createSound function, you will want to use the exact directory location of the audio file. Also, ensure that you have read permissions on the device to read the audio from the file.

However, FMOD does not have the functionality to allow for beat detection if you could elaborate further on how you are doing this I may be able to assist.

I hope this answers your questions better!

1 Like