APU Software

Audio Processing Units

APU Software is a single-person company crafting innovative audio tools.

Fletcher-Munson curves

April 02, 2024

Fletcher-Munson curves

If you've ever wondered why a mix sounds different at low versus high playback volumes, you're bumping into a century-old psychoacoustic phenomenon: the Fletcher-Munson curves, also known as equal-loudness contours. These curves describe how our ears perceive loudness differently across frequencies, depending on sound pressure level (SPL). While they have evolved over time into more refined ISO standards, the original Fletcher-Munson data remains a seminal contribution to both audio engineering and psychoacoustics.

Continue Reading...

Detangling Audio Units

April 02, 2024

Detangling Audio Units

Audio Units can be tricky to work with as they are a bit notorious for holding on to old versions you thought you had already removed, failing to load anything at all, and providing little information suitable for diagnosing. No doubt millions of users have banged their head against this issue and there is little help to be found other than to keep rebooting, keep refreshing, crossing your fingers that it works.

So with all that said, here is a set of commands which have so far given me the best results:

Continue Reading...

Adaptive loudness windows

January 23, 2024

Adaptive loudness windows

Although the relatively long window durations of LUFS and RMS are useful for capturing the audio's dynamics accurately, the relatively slow response times can lead to artifacts in certain scenarios. For example, when the audio is first played, the initial loudness measurements will be very low. This is because the window is initially filled with silence, weighing the measurements down. This ultimately leads to a delay in the measurement response, which ultimately can prevent the initial transient from being compressed at all.

Continue Reading...

Optimizing LUFS

October 12, 2023

Optimizing LUFS

In my previous blog post about LUFS, we delved into some details of the LUFS algorithm. One of the key elements of the algorithm is the calculation of the sum of all amplitudes within the audio waveform. For the purpose of this discussion, we'll refer to this sum as the energy of the waveform.

When measuring LUFS, we typically focus on a continuous stream of measurements. This approach allows us to observe the loudness fluctuations over time, providing insights into the audio's dynamic range.

Continue Reading...

Loudness Units, Full-Scale (LUFS)

October 06, 2023

Loudness Units, Full-Scale (LUFS)

When working with audio, there often arises a fundamental need for an objective way to measure loudness. Historically, RMS (Root Mean Square) has served this role, providing a good first-order approximation. This style of measurement quickly became ubiquitous across audio tools of all sorts. Even though it has limitations, which we'll get into, it is a whole lot better than nothing.

Technology has advanced over time and more accurate forms of measurement have become feasible. One of the leading algorithms for this purpose today is LUFS. Its use is becoming increasingly common, especially given its adoption by many popular streaming platforms.

Continue Reading...