Moonbase59 / loudgain

ReplayGain 2.0 loudness normalizer based on the EBU R128/ITU BS.1770 standard (-18 LUFS, FLAC, Ogg, MP2, MP3, MP4, M4A, AAC, ALAC, Opus, ASF, WMA, WAV, AIFF, WavPack, APE)
Other
182 stars 23 forks source link

Use this to prescale during encoding? #61

Open mirabilos opened 1 year ago

mirabilos commented 1 year ago

I’ve got a set of recordings from a local concert as WAV files and would like to make prescaled MP3s out of it, because currently, if I encode them in LAME and then use a nōn-RG-aware player (old mpg123) to play them, even if I turn up all volumes to the maximum on the laptop it’s barely audible.

I’ve found so far that this is most likely the best software to use for analysis, but how do I proceed?

I used the test-2.csv example to get a column Gain that now has values like 16.68 dB, 7.51 dB, … but how do I “apply” this to the samples? I know LAME has a --scale option, but that one obviously doesn’t take dB values.

(I’d probably round that value slightly down, or use the Album value on all pieces, but even the loudest piece is barely audible, so I do need the prescaling…)

Thanks in advance!