Hello there
I want to subscribe game logic and UI animations to the bpm of a music track. What would be the best way to do this with FMOD?
Thanks for your help!
Hello there
I want to subscribe game logic and UI animations to the bpm of a music track. What would be the best way to do this with FMOD?
Thanks for your help!
The best way to handle this is to use event callbacks with the Studio API, which will allow you to receive a callback on an eventâs timeline reaching a beat and/or bar, based on the tempo set by tempo markers in Studio.
Based on your posting history, you seem to be using Unity - our Timeline Callbacks Unity scripting example demonstrates how to do this with Unity. If youâre not using Unity, you can take a look at the âmusic_callbacksâ Studio API example included with the FMOD Engine installer instead.
Thanks for your reply! Sorry I forgot to mention it bur this is actually about Unreal Engine. Where can I find documentation on the music_callbacks?
The music_callbacks example isnât Unreal specific, but can be found in the Studio API examples included with the FMOD Engine installer, which are located in the install directory at â./api/studio/examplesâ. For Unreal-specific info, our Unreal documentation on callbacks provides a brief guide on using timeline callbacks with Blueprints.