# Does Juce have any loudness related functions or classes?

**URL:** <https://forum.juce.com/t/does-juce-have-any-loudness-related-functions-or-classes/57424>\
**Category:** General JUCE discussion\
**Created:** [August 14, 2023, 7:34am UTC](https://forum.juce.com/t/does-juce-have-any-loudness-related-functions-or-classes/57424 "2023-08-14T07:34:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bpandaman](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bpandaman/32/16218_2.png) [@bpandaman](https://forum.juce.com/u/bpandaman)\
**Post date:** [August 14, 2023, 7:34am UTC](https://forum.juce.com/t/does-juce-have-any-loudness-related-functions-or-classes/57424/1 "2023-08-14T07:34:30Z")

</div>

Hello.  
I have recently started using Juce.  
Does Juce provide any functions or classes to get the loudness (LUFS) long term, short term, momentary, and loudness range of a wav file?  
If not, is there a way to do this?

---

<div class="post-metadata">

**Author:** ![kerfuffle](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kerfuffle/32/11805_2.png) [@kerfuffle](https://forum.juce.com/u/kerfuffle)\
**Post date:** [August 14, 2023, 8:46am UTC](https://forum.juce.com/t/does-juce-have-any-loudness-related-functions-or-classes/57424/2 "2023-08-14T08:46:43Z")

</div>

This is something you would have to implement yourself, using the LUFS specification as a guideline. (Or look on GitHub for existing open source implementations).

---

<div class="post-metadata">

**Author:** ![bpandaman](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bpandaman/32/16218_2.png) [@bpandaman](https://forum.juce.com/u/bpandaman)\
**Post date:** [August 14, 2023, 11:48am UTC](https://forum.juce.com/t/does-juce-have-any-loudness-related-functions-or-classes/57424/3 "2023-08-14T11:48:26Z")

</div>

Thanks for the reply.  
I knew it…

I asked the question because I couldn’t find any documentation that seemed to indicate that.

I’m sure the demand for this issue is high, so I’m quietly hoping that it will be provided in a future update.  
I will try to write the code by myself this time.

Thank you.

---

<div class="post-metadata">

**Author:** ![caustik](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/caustik/32/22449_2.png) [@caustik](https://forum.juce.com/u/caustik)\
**Post date:** [August 14, 2023, 1:08pm UTC](https://forum.juce.com/t/does-juce-have-any-loudness-related-functions-or-classes/57424/4 "2023-08-14T13:08:32Z")

</div>

Have a look at libebur128, it’s free and has a permissive license
