Level/dynamic issue

Hi.

I’ve tried to use PlexAmp on OSX but I’m not happy at all with the result.
While it plays FLAC (server is on the same LAN) in “Direct Play” the sound was not good (to my ears).
I’ve tried to play the same file with VLC, it sounded better.
It sounded better too with the Plex web player…

So I launched Audacity and set up IShowU virtual sound card so I can record the output of the different plays in Audacity, at the same level (line level).

Here’s the result:

First track (stereo) is VLC.
Second one in PlexAmp.
Third one is Plex web player.

Spectrum analysis shows VLC/webplayer reaches 0 dB while PlexAmp maxes at -13 dB…
“Contrast” (in Audacity) is -11.0 1dB for VLC, -11.89 dB for webplayer and -19.21 dB for PlexAmp.

Why is that?!

To think louder = better is a very common fallacy. It is not.

Technical background: Plexamp is doing what all the other Plex clients cannot do yet: loudness leveling. I.e. it will try as good as it can that each track will appear to the listener as having the same volume. No easy feat, considering the sometimes drastic differences in mastering / compression between tracks, particularly if they are from different eras.

In order to raise the volume on some less compressed material, without introducing distortion in the peak levels, the overall playback level needs to get lowered a bit.

And that’s what Plexamp does.
If you listen to mixed playlists, you will notice after a while that you no longer need to adjust the volume between tracks.
This advantage makes up quite well a little loss in overall peak levels.
Just turn your volume knob a little more towards 11.

1 Like

I don’t want to start another “loudness war” not get an explanation between “loud” and “dynamic”: I know the track I used to test is “not good” (to say the least, it’s DR5).

It’s just that I don’t want the player I use to do some unwanted compression ("loudness leveling), I want it to play the track the way it was recorded. Even if it’s badly recorded or if it’s much louder than the previous track.

I understand the integration of such a feature.
I’m just unhappy it’s not clearly stated (“loudness” on the Help/FAQ page is just about the vizualizer) and can not be disabled (yet?)…

Plexamp doesn’t do compression. (Thank $deity!)
It just raises or lowers volume to achieve its goal.

If you think digital volume change is evil, you can disable that by editing a text file

Great, thanks for the link.
I’ll look for the file on my computer (Mac) and try it out.

I found additional informations on the feature server-side (the butler thread 8-)).

I just want to add, that this feature is hopefully introduced in every player in the world.

Because it makes the ‘loudness war’ almost pointless to pursue, since all recordings end up played back at the same volume. In fact, an over-compressed mastering will sound poorer than a reasonably mastered one. Win/win.

2 Likes

Just so I’m understanding this correctly, the PlexAmp player doesn’t modify the audio from my direct play FLAC files, it’s simply adjusting the volume a little higher for “low loudness” tracks, a little lower for “higher loudness” tracks, and does nothing for tracks right in the “middle” as far as loudness?

BTW, I LOVE this feature of plexAmp, and is the biggest reason I use it over the web player on my MacBook.

Precisely.

2 Likes

A few more details, because this topic is close to my heart.

First a definition of terms:
Peak Level = the volume of the highest peak of the wave form
Loudness = the perceived volume of the track to a human listener. Two tracks can have the same peak level (i.e. they are both ‘normalized’ to peak level) but they can have drastically different loudness, caused by different amounts of dynamic compression.

We are aiming to compensate the difference in loudness between tracks, purely by adjusting the playback level of the whole track.
(Theoretically you could achieve the same by compressing the lower loudness tracks more. But this method is just purely evil and will therefore not be pursued. If you want to listen to the results of that approach, get a radio.)

The drastic level difference between the waveforms from VLC and Plexamp in the above picture Level/dynamic issue is easily explained:
The test track used is a very highly compressed one. Which means it has a very high loudness. Plexamp duly reduced its playback volume rather drastically, so other tracks with less compression have a chance to be perceived as equally loud.

Why not rather raise the volume of the quieter track, you ask?
Because then, the peaks of the quieter track would exceed what the digital-analog converter (DAC) of your computer could handle.
There is a technical limit to what voltage a DAC can produce in the peaks. If you raise the level of a track too much, you get distortion. (the peaks of the waveform get clipped at the highest level of the DAC. This is commonly known as ‘clipping’.)

One user proposed an approach like in other players, which do feature an adjustable preAmp value. Raising this preamp value would result in distortion, we don’t want that.

Some players have a ReplayGain mode named ‘prevent clipping’. Why not use this?
Because what these players do is employing a ‘peak limiter’, which reduces the level of peaks of the music. It’s effect is the same as a (very poorly executed) dynamic compression. We don’t want that, so it is not used.

As a user of Plexamp, you can get a very intuitive visual representation of the loudness of a track. It conveys a much more detailed information about a track’s loudness than the above mentioned DRx value.

Simply switch to the ‘Soundprint’ visualizer of Plexamp.
It shows you the average loudness of ~ 50 segments of a track. The longer a bar extends from the center, the louder this segment is.

Here is an example of the result of the ‘loudness war’, illustrated with the Soundprint viz:

The Beatles - Sgt. Peppers Lonely Heartclub Band (Remaster from 2009):
loudness1

The same track from the ‘50th anniversary Deluxe edition’ from 2017:
loudness2

As you can see, there are more longer bars. Which means the sound was compressed even more than on the 2009 release. The quieter passages were drastically raised in volume, reducing the dynamic of the recording.

For the technically inclined: Plex server determines the loudness of a track with the current state-of-the-art EBU R128 algorithm.

1 Like

I would LOVE it if Plex did this with other media files. Was watching a playlist of 70s sitcoms yesterday, and they were all over the board for volume levels. Jack Tripper just isn’t the same if you can’t hear him.

+1 for getting peak adjustment added for video files to other clients, too – or even getting peak normalisation (nb not compression) added to the server rather than leaving it to the client (please!)

WOW thanks for the hint regarding the soundprint visualizer. This is crazy! I just recently bought a couple of remastered albums from iTunes as my old records (I digitalized years ago) sounded “weak” in each mix (due to loudness war). I was aware of the underlying basic problem loving PlexAmp for this reason. However it wasn’t clear to me how huge the differences are. Look at one example: Remastered Red Guitar track from David Sylvian 2009 vs. original track from the record of 1984. The complete dynamic of the song - especially that the last refrain is much louder than the first ones - is completely removed and flattened in the remasterd version. ! Holy Crap !
old Remastered

1 Like

Yep. You could say it now sounds just like it looks - boring.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.