# Clarification when using SOUND\_PLAYED callback

**URL:** <https://qa.fmod.com/t/clarification-when-using-sound-played-callback/23010>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [June 4, 2025, 3:46pm UTC](https://qa.fmod.com/t/clarification-when-using-sound-played-callback/23010 "2025-06-04T15:46:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spakment](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@spakment](https://qa.fmod.com/u/spakment)\
**Post date:** [June 4, 2025, 3:46pm UTC](https://qa.fmod.com/t/clarification-when-using-sound-played-callback/23010/1 "2025-06-04T15:46:34Z")

</div>

Hi all,  
In Unity I’m trying to get a callback to notify when sounds are played.

I have async instruments setup to trigger using parameters on tempo intervals - some one Bars, some on half notes, but not to play directly when triggered by the parameter but at a beat point in the future.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/c/ce187619a31c15266b71abf6c2989539e6b2009d.png)

I want to get informed when the sound plays, not when it’s queued to play from the parameter triggering it.

I set up callbacks on FMOD\_STUDIO\_EVENT\_CALLBACK\_SOUND\_PLAYED but I’m getting the callback as soon as the parameter triggers the instrument not when the actual sound plays.

Is this by design or bug or am I doing it wrong?

Many thanks

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [June 11, 2025, 11:16pm UTC](https://qa.fmod.com/t/clarification-when-using-sound-played-callback/23010/2 "2025-06-11T23:16:29Z")

</div>

Hi,

Thank you for the screenshots and the information.

When the sound is played, not taking into account the delay applied by the quantization, is when the callback will be triggered. Unfortunately, this is how the system was designed.

An option may be using `ChannelControl::getDelay` ([FMOD Engine | Core API Reference - Channel Control](https://fmod.com/docs/2.02/api/core-api-channelcontrol.html#channelcontrol_getdelay)) to send the name after the same delay as the audio being played?

Hope this helps!
