# Get FFT data from individual eventInstance in Unity

**URL:** <https://qa.fmod.com/t/get-fft-data-from-individual-eventinstance-in-unity/13786>\
**Category:** Unity\
**Created:** [March 26, 2018, 1:47pm UTC](https://qa.fmod.com/t/get-fft-data-from-individual-eventinstance-in-unity/13786 "2018-03-26T13:47:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest9](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@Guest9](https://qa.fmod.com/u/Guest9)\
**Post date:** [March 26, 2018, 1:47pm UTC](https://qa.fmod.com/t/get-fft-data-from-individual-eventinstance-in-unity/13786/1 "2018-03-26T13:47:03Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [March 27, 2018, 3:30am UTC](https://qa.fmod.com/t/get-fft-data-from-individual-eventinstance-in-unity/13786/2 "2018-03-27T03:30:53Z")

</div>

You will want to create a DSP and use that to retrieve the FFT data, as mentioned here:  
[http://www.fmod.org/questions/question/getting-spectrum-of-master-channel-in-unity/](http://www.fmod.org/questions/question/getting-spectrum-of-master-channel-in-unity/)

Instead of adding it to the Master Channel Group, you can add it to the ChannelGroup of an event using Studio::EventInstance::getChannelGroup.  
[https://fmod.com/resources/documentation-api?page=content/generated/FMOD\_Studio\_EventInstance\_GetChannelGroup.html#/](https://fmod.com/resources/documentation-api?page=content/generated/FMOD_Studio_EventInstance_GetChannelGroup.html#/)
