Is there a way to quickly fade out the previous sound in a multi instrument when another sound plays? E.g. for fast weapons where you want to quickly fade out the tail of the previous shot when a new one plays. I thought this should be simple and I know how to do it in Wwise, but could wrap my head around it in FMOD
No. Multi instruments are not designed to do that. They are designed to be a tool for selecting which of several sounds to play.
To achieve the behaviour you want, add an AHDSR modulator to an asynchronous instrument’s volume, then use logic markers to ensure the instrument is untriggered and retriggered every time you want to play a new instance of it.
Thank you Joseph. The issue with using logic markers is that they introduce quite a bit of latency (Transitions latency when changing parameter - #7 by deHaan)
However, I foud a hacky way to do what I want:
- Create a looping event that keeps playing when the weapon is active
- Create a “WeaponFire” parameter that goes from 0 to 1 and has velocity set to -4.00/s
- On the WeaponFire parameter sheet create a multi instrument with the fire sounds and let it go all the way up to 0.999
- Put an ADSHR on the multiinstrument to set the desired fade out for previous fires
I’m glad to hear you were able to achieve the behaviour you want. If you have any further questions, please don’t hesitate to ask.