# Events triggering on subbeats of music

**URL:** https://qa.fmod.com/t/events-triggering-on-subbeats-of-music/21155
**Category:** Unity
**Created:** [January 25, 2024, 1:09pm UTC](https://qa.fmod.com/t/events-triggering-on-subbeats-of-music/21155 "2024-01-25T13:09:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kiru176](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@Kiru176](https://qa.fmod.com/u/Kiru176)
#### Post date: [January 25, 2024, 1:09pm UTC](https://qa.fmod.com/t/events-triggering-on-subbeats-of-music/21155/1 "2024-01-25T13:09:00Z")

</div>

I managed get a script working with an event triggering on every beat, but I want to make it so that there are other events triggering as triplets, quarter notes and such. Someone mentioned diviging DSP clock with Sample Rate to get an accurate time measure, but I don’t quite understand how to go about it and I need some help.

Thanks.

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [January 31, 2024, 5:17am UTC](https://qa.fmod.com/t/events-triggering-on-subbeats-of-music/21155/2 "2024-01-31T05:17:35Z")

</div>

I see you’ve already posted in a separate thread, which I will link here for posterity: [Is it possible to subscribe to sub-beat callbacks? - #7 by Kiru176](https://qa.fmod.com/t/is-it-possible-to-subscribe-to-sub-beat-callbacks/19403/7)

xanhulme’s response in the thread was pretty much exactly what I was going to suggest to receive a callback on beat/subbeats - if that doesn’t suit your use case, please reply in that thread.

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [January 31, 2024, 5:17am UTC](https://qa.fmod.com/t/events-triggering-on-subbeats-of-music/21155/3 "2024-01-31T05:17:42Z")

</div>


