Send level callback in Fmod API?

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

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.

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

1 Like