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

**URL:** <https://qa.fmod.com/t/can-i-query-the-eventinstance-for-the-tempo-marker-data-that-i-attached-to-it-via-fmod-studio/14075>\
**Category:** Unity\
**Created:** [August 31, 2018, 3:14am UTC](https://qa.fmod.com/t/can-i-query-the-eventinstance-for-the-tempo-marker-data-that-i-attached-to-it-via-fmod-studio/14075 "2018-08-31T03:14:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shadoninja](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@Shadoninja](https://qa.fmod.com/u/Shadoninja)\
**Post date:** [August 31, 2018, 3:14am UTC](https://qa.fmod.com/t/can-i-query-the-eventinstance-for-the-tempo-marker-data-that-i-attached-to-it-via-fmod-studio/14075/1 "2018-08-31T03:14:56Z")

</div>

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

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

Is this possible?

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [August 31, 2018, 6:18am UTC](https://qa.fmod.com/t/can-i-query-the-eventinstance-for-the-tempo-marker-data-that-i-attached-to-it-via-fmod-studio/14075/2 "2018-08-31T06:18:45Z")

</div>

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.html#/)

[https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD\_STUDIO\_EVENT\_CALLBACK\_TYPE.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

---

<div class="post-metadata">

**Author:** ![Shadoninja](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@Shadoninja](https://qa.fmod.com/u/Shadoninja)\
**Post date:** [August 31, 2018, 12:08pm UTC](https://qa.fmod.com/t/can-i-query-the-eventinstance-for-the-tempo-marker-data-that-i-attached-to-it-via-fmod-studio/14075/3 "2018-08-31T12:08:26Z")

</div>

> [@](#):
>
> 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.html#/)
> 
> [https://www.fmod.com/resources/documentation-api?page=content/generated/FMOD\_STUDIO\_EVENT\_CALLBACK\_TYPE.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

Thanks! That was useful. TIMELINE\_BEAT\_PROPERTIES was the trick.
