Events triggering on subbeats of music

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.

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

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.