# Send level callback in Fmod API?

**URL:** <https://qa.fmod.com/t/send-level-callback-in-fmod-api/20772>\
**Category:** FMOD Engine\
**Created:** [October 15, 2023, 7:29pm UTC](https://qa.fmod.com/t/send-level-callback-in-fmod-api/20772 "2023-10-15T19:29:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmodwan](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@fmodwan](https://qa.fmod.com/u/fmodwan)\
**Post date:** [October 15, 2023, 7:29pm UTC](https://qa.fmod.com/t/send-level-callback-in-fmod-api/20772/1 "2023-10-15T19:29:32Z")

</div>

I have put an AHDSR envelope on a send on one event in FMod studio. Is it possible to communicate the send level to my C++ program in real time ? I would like the program to follow the fade out in intensity when I stop the event.  
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:** [October 18, 2023, 6:04am UTC](https://qa.fmod.com/t/send-level-callback-in-fmod-api/20772/2 "2023-10-18T06:04:09Z")

</div>

Hi,

It’s not possible to specifically retrieve the send level via the Studio API. That said, if you modulate a parameter with the AHDSR, and then automate the send with the parameter instead, you can get the value of the AHDSR-affected parameter at runtime from the `finalvalue` argument one of the `Studio::EventInstance;:getParameterby` functions, such as [`Studio::EventInstance::getParameterByName`](https://www.fmod.com/docs/2.02/api/studio-api-eventinstance.html#studio_eventinstance_getparameterbyname).

---

<div class="post-metadata">

**Author:** ![fmodwan](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@fmodwan](https://qa.fmod.com/u/fmodwan)\
**Post date:** [October 20, 2023, 7:18pm UTC](https://qa.fmod.com/t/send-level-callback-in-fmod-api/20772/3 "2023-10-20T19:18:42Z")

</div>

Thank you Leah for this workaround, seems doable on my side.
