# How often is the spectrum updated?

**URL:** https://qa.fmod.com/t/how-often-is-the-spectrum-updated/14906
**Category:** Unity
**Created:** [August 1, 2019, 10:32am UTC](https://qa.fmod.com/t/how-often-is-the-spectrum-updated/14906 "2019-08-01T10:32:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![amnesiaaa](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@amnesiaaa](https://qa.fmod.com/u/amnesiaaa)
#### Post date: [August 1, 2019, 10:32am UTC](https://qa.fmod.com/t/how-often-is-the-spectrum-updated/14906/1 "2019-08-01T10:32:28Z")

</div>

Hey, if i get the spectrum with DSP\_FFT, how often is the spectrum updated?  
If i used it in the update by Unity, the spectrum updated one time per frame with new values?

---

<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: [August 5, 2019, 3:52am UTC](https://qa.fmod.com/t/how-often-is-the-spectrum-updated/14906/2 "2019-08-05T03:52:02Z")

</div>

When you access the spectrum data of a DSP, by calling `DSP::getParameterData`, you get the spectrum data for that frame of audio. Each time you `getParamaeterData` you will get the latest information.
