Get FFT data from individual eventInstance in Unity


Hey all,
I have a scene with a whole bunch of different objects, each with a looping fmod eventInstance attached. So far everything is sounding and performing well.

What I would like to do is to change the visuals of each of the objects based on the FFT data of the specific eventInstance it is playing.

The examples I have found for FFT all seem to use the MasterChannelGroup. Is there a way to get this data for the channel/channelgroup of a specific EventInstance?


You will want to create a DSP and use that to retrieve the FFT data, as mentioned here:

Instead of adding it to the Master Channel Group, you can add it to the ChannelGroup of an event using Studio::EventInstance::getChannelGroup.