# Where to get the data for metering?

**URL:** <https://forum.juce.com/t/where-to-get-the-data-for-metering/12565>\
**Category:** General JUCE discussion\
**Created:** [March 17, 2014, 1:28pm UTC](https://forum.juce.com/t/where-to-get-the-data-for-metering/12565 "2014-03-17T13:28:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![imekon](https://avatars.discourse-cdn.com/v4/letter/i/3da27b/32.png) [@imekon](https://forum.juce.com/u/imekon)\
**Post date:** [March 17, 2014, 1:28pm UTC](https://forum.juce.com/t/where-to-get-the-data-for-metering/12565/1 "2014-03-17T13:28:37Z")

</div>

Where do I extract the data for metering (like VU meters) for audio?

I had a look at the audio callback on AudioDeviceManager but I'm slightly confused - the input channel is the microphone, I believe, the output channel is... what? Always seems to be empty, and the recommendation is to fill it with zeroes?

---

<div class="post-metadata">

**Author:** ![dave96](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/dave96/32/8487_2.png) [@dave96](https://forum.juce.com/u/dave96)\
**Post date:** [March 17, 2014, 1:48pm UTC](https://forum.juce.com/t/where-to-get-the-data-for-metering/12565/2 "2014-03-17T13:48:10Z")

</div>

Well it will be empty when the callback starts, you need to fill it with whatever should be sent to the outputs.

What data you need to examine for metering will depend on what you actually want to meter. If it's just the master output then examine your main audioDeviceIOCallback after you've sent the buffers off to your sources to be filled.

---

<div class="post-metadata">

**Author:** ![imekon](https://avatars.discourse-cdn.com/v4/letter/i/3da27b/32.png) [@imekon](https://forum.juce.com/u/imekon)\
**Post date:** [March 17, 2014, 10:09pm UTC](https://forum.juce.com/t/where-to-get-the-data-for-metering/12565/3 "2014-03-17T22:09:26Z")

</div>

Ahah!

"after you've sent the buffers off to your sources"...

I changed the order I added the callback:

- the metering callback
- the source callback

Now I can see the metering!
