How to Access and Manipulate Audio Buffer?

Hi there, I’d like to simulate a dynamic application crash sound effect, the final effect should be like this:

I think if I can access the audio buffer in either Unity or FMOD then I can “replay” the last second of the audio output. But I really have no idea how :frowning:

Any suggestion?

There are a few ways you could do this, the best way will depend on what you are trying to do exactly. Do you want to effect a single sound, a group of sounds or all sounds in the game?

Hi, I’d like to know how to get all sound in the game, since FMOD is using a different system, and I have no idea how to access the FMOD output.

You can make this sort of effect in Studio.

  1. Make a Return that feeds directly to the Master Bus.
  2. Add post fader sends from all buses you want to use in the sound effect to the return.
    (Alternativly you could group the buses under a top level bus with the send, just not the Master Bus.)
  3. On the return, add a pre-fader Delay effect.
  4. Set the Delay to your desired length of effect.
  5. Set Dry level and Feedback to 0.
  6. Create a snapshot that sets the Delay feedback to 100% and silences the main output of the bus or buses that are sending to the return.
  7. Now you should be able to produce a ‘glitching’ sound by activating the snapshot.