Can I query the EventInstance for the Tempo Marker data that I attached to it via FMOD Studio?


#1

I would like to get this information from my EventInstance programatically:

https://www.fmod.com/resources/documentation-studio?page=glossary.html#tempo-marker

Is this possible?


#2

Hi Tanner,

Yes this is possible by using callbacks to grab the TIMELINE_BEAT.

https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD_STUDIO_EVENT_CALLBACK.html#/

https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD_STUDIO_EVENT_CALLBACK_TYPE.html

You can see the “music_callbacks” example in the API examples project.

Thanks,
Richard


#3

Thanks! That was useful. TIMELINE_BEAT_PROPERTIES was the trick.