MP3Gain: malo na splošno o tem programu

Danes pa malo o programu MP3Gain (osnovne informacije o njem), ki ga sedaj uporabljam že vrsto let, ehm, v bistvu že odkar sem dobil ta svoj prvi računalnik. Njegova naloga pa je ta, da najprej analizira .mp3 fajle in preveri kako glasni so za človeško uho, nato pa jim to njihovo glasnost pre-nastavi, ne da bi se s tem spremenila njihova kvaliteta.

Kot boste lahko prebrali spodaj, ta program spremeni glasnost .mp3 fajlov ali tako, da so na koncu vsi enako glasni (t.i. “Track mode”), ali pa tako, da so glasni relativno drug na drugega (t.i. “Album mode”), naprimer pri nekem glasbenem CD-ju, kjer niso vsi komadi enako glasni. Tule spodaj pa imate dve sličici, ki lepo prikažeta razliko med tema dvema vrstama operiranja s fajli in njune efekte na različne vrste CD-jev.

Thumbnail-sličici no. 1, 2:

ModeGraphKey - ModeGraphKey.png ModeGraph - ModeGraph.png

(klikni za originalo velikost)

Introduction

MP3Gain analyzes mp3 files to determine how loud they sound to the human ear. It can then adjust the mp3 files so that they all have the same loudness without any quality loss. This way, you don’t have to keep reaching for the volume dial on your mp3 player every time it switches to a new song.

MP3Gain operates in two modes, Track and Album:

  • Track mode volume-corrects a mix of unrelated songs to a selected level. MP3Gain calculates the volume level for each song individually. It then corrects each song to make its volume level match the Target Volume.
    For example, if you have 3 songs that have volume levels of 86, 91 and 89 dB and you use Track Gain to convert them to a Target Volume of 92 dB, they will all be at approximately 92 dB.
  • Album mode volume-corrects a collection of related songs (as they would appear on a CD, or “album”) relative to other collections of songs. Applying Album gain is like adjusting the volume knob once for each CD you put in your CD player. The overall volume of the album is adjusted to the Target Volume, but the volume differences between the mp3s in the album are preserved.
    For example, if you have 3 songs that have volume levels of 86, 91 and 89 dB, then the overall volume of this “album” will probably be around 89 dB. If the Target Volume is set to 92 dB, then when you apply Album Gain MP3Gain will increase the volume of each of these songs by +3 dB.
    With Album mode, you want some songs to be noticeably quieter than other songs, just like they are on an album. If you’re playing a classical CD, you expect the track with the flute solo to be quieter than the track with the big full-orchestra finale. Album mode allows you to correct an entire album while keeping each song’s volume level relative to the other songs.

MP3Gain can also make changes based on the peak amplitude of the mp3, ignoring how loud the mp3 actually sounds to the human ear.
This peak adjustment is what most audio programs mean by “normalizing”. To differentiate between “peak” normalizing and “loudness” normalizing, I use the term “maximizing” when talking about peak normalizing.
Maximizing can be used to make an mp3 as loud as possible without clipping. This can be useful, but keep in mind that this will not make your mp3s the same volume. In fact, if you maximize every track on a CD, some of the original quiet tracks can become louder than the original loud tracks.

To je seveda meni prišlo še kako prav, ko npr. nisem hotel (s preglasnim predvajanjem glasbe) zbuditi ostalih ljudi v hiši, vsi razni moji “muzički fajli” pa so imeli hudo različne “default” glasnosti; tako sem jih preprosto vse naštimal na 90.5 dB, v primeru seveda, če ni prišlo pri posameznem fajlu do t.i. “clippinga”, glej spodaj. No in še opis t.i. “Peak Normalization” iz poglavja “Concepts“, no, poleg njega je tam še pod-poglavje “Lossless Gain Adjustment“, pa ta niti ni tako pomemben in ga nisem vključil.

Peak Normalization

Most programs that “normalize” sound files do so by adjusting all the samples so that the loudest single sample is at some specified value. This is not a good way to make all the files actually have the same loudness. First of all, the human ear does not hear the loudness of single samples. It averages out sounds over time. Secondly, today’s popular music CDs are heavily compressed. The sound engineers making the CD raise the average level so that it sounds much louder, while compressing the loudest parts so that they don’t distort.

A typical uncompressed sound file might look like this:

Wave1 - Wave1.gif

A typical compressed sound file might look like this:

Wave2 - Wave2.gif

Both of these files have a peak sample at about 100%, but the compressed file has a much louder average level. It sounds much louder when played back. So to do actual loudness normalization instead of peak normalization, we need to calculate how loud the file actually sounds. MP3Gain uses the Replay Gain algorithm to calculate this loudness.

Tadej

Leave a Reply