Can event stealing still allow a fadeout of the old event?

I’m curious to know if there is any way event stealing can still honor the release of the AHDSR, but from the FMOD Editor? I don’t work on the API side at all so if I can pull it off in editor, that would be great!

I have a laser sound that loops for a strategy game. I want to limit the events to maybe 4 or 5 instances, but when I move the camera around there are hard cuts going out of the old ones and into the new ones. I thought adding a little release to the AHDSR could help but it doesn’t seem to. Setting the priority type to “furthest” helps with this a little bit, but I wanted to know if event stealing can still allow a slight fade out so it doesn’t cut into the new instances so hard?

Thanks!

No.

Event stealing is a resource management tool, a way of pruning away old event instances so that they don’t consume resources. An event instance playing out the release period of its AHDSR modulators is an event that’s still playing, and therefore still consuming resources - and so stolen event instances always* stop immediately to prevent that from happening.

If you want event instances to stop with fadeout when more than a certain number of them are playing, you’ll have to keep count of how many are playing in your game’s code and stop them with fadeout when needed, rather than relying on the event stealing behavior.

*There is technically one situation in which a stolen event instance does not stop immediately, but it’s not relevant to your situation.

Just wanted to bump this to say for what it’s worth, I’d also find this to be a helpful feature, if even just a toggle. I find it’s equally as helpful for mixing as it is resource management, and the only thing missing is having a graceful fadeout.

Understandable if that’s way out of the intended design though, I’ll just need to start tracking those instances in-game like you mention.

I asked for this back in 2021, with some arguments that seemed to make sense to the FMOD staff at the time: Suggestion: steal release time
Perhaps this feature could be reconsidered?

Looking at our records… You’re entirely correct! A discussion was had internally, and the outcome of that discussion was our deciding to add new stealing behaviors that would let stolen event instances play out their stopping behaviours gracefully.

This task is therefore already on our feature and improvement tracker, but as of the time of writing (March of 2025), it has not yet been scheduled for development.

I’ll add you and @modulesplusmusic to the list of people interested in this feature. (@Alcibiade is already on the list, due to having requested it back in 2021.)

1 Like