# Get the rms volume of events while using Resonance

**URL:** <https://qa.fmod.com/t/get-the-rms-volume-of-events-while-using-resonance/21258>\
**Category:** Unity\
**Created:** [February 19, 2024, 5:13am UTC](https://qa.fmod.com/t/get-the-rms-volume-of-events-while-using-resonance/21258 "2024-02-19T05:13:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenyutpe](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chenyutpe](https://qa.fmod.com/u/chenyutpe)\
**Post date:** [February 19, 2024, 5:13am UTC](https://qa.fmod.com/t/get-the-rms-volume-of-events-while-using-resonance/21258/1 "2024-02-19T05:13:39Z")

</div>

Hi,

I want to get the rms volume of some events at runtime, I tried `getMeteringInfo` but it always gives me 0. No matter I get which dsp in the mixer, `inputInfo` or `outputInfo`. It works fine when I bypass Resonance Audio Source, so it seems Resonance makes the function broken.

Also, I would like to ask if it’s possible to get the actual received volume of the listener, since there’s atteuation.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [February 20, 2024, 9:46pm UTC](https://qa.fmod.com/t/get-the-rms-volume-of-events-while-using-resonance/21258/2 "2024-02-20T21:46:52Z")

</div>

Hi,

The issue with Resonance is that when the signal goes through the Audio Source, it is no longer in the FMOD signal chain.

An option may be trying the DSP capture scripting example: Unity Integration | Scripting Examples - DSP Capture. Which I found received accurate sample data even with the Resonance Audio Source. You could add a `getMeteringInfo` call to the `mCaptureDSP` and it should provide correct `rms` levels.

Hope this helps!
