# Master Track LevelMeasurer

**URL:** <https://forum.juce.com/t/master-track-levelmeasurer/39117>\
**Category:** Tracktion Engine\
**Created:** [April 30, 2020, 7:07pm UTC](https://forum.juce.com/t/master-track-levelmeasurer/39117 "2020-04-30T19:07:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwall](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bwall/32/618_2.png) [@bwall](https://forum.juce.com/u/bwall)\
**Post date:** [April 30, 2020, 7:07pm UTC](https://forum.juce.com/t/master-track-levelmeasurer/39117/1 "2020-04-30T19:07:00Z")

</div>

For regular tracks, we have `audioTrackPtr->getLevelMeterPlugin()->measurer`. What is the equivalent for the master track?

All I can see is `edit.getPreviewLevelMeasurer()`. But that always returns a `nullptr`.

What piece am I missing?

---

<div class="post-metadata">

**Author:** ![bwall](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bwall/32/618_2.png) [@bwall](https://forum.juce.com/u/bwall)\
**Post date:** [April 30, 2020, 10:47pm UTC](https://forum.juce.com/t/master-track-levelmeasurer/39117/2 "2020-04-30T22:47:55Z")

</div>

I found it, we just need to use `edit.getCurrentPlaybackContext()->masterLevels`. That gives access to the `LevelMeasurer` needed to feed the meters.
