simon-r / dr14_t.meter

Compute the DR14 of a given audio file according to the procedure described by the Pleasurize Music Foundation
http://dr14tmeter.sourceforge.net
GNU General Public License v3.0
125 stars 33 forks source link

Input files are resampled to 44100Hz before DR computation, although this is not mentioned in the linked PDF #49

Open magicgoose opened 7 years ago

magicgoose commented 7 years ago

https://github.com/simon-r/dr14_t.meter/blob/c29b2ff3141b89a82d8dbf76c9422ba5633c4ac7/dr14tmeter/audio_file_reader.py#L160 — these parameters are used to create temporary files for actual DR measurement, if I understood correctly. And they instruct ffmpeg to resample everything to 44100Hz.

http://www.dynamicrange.de/sites/default/files/Measuring DR ENv3.pdf — here's no mention of that.

What is the reason behind this? If it comes from a reverse engineering of official closed-source tools, then maybe you have some other interesting findings to share? 😄

magicgoose commented 7 years ago

I just tested it on some 96khz record (FLAC variant of http://www.opengoldbergvariations.org/) with and without the resampling, and it seems that resampling makes it closer to the "official" numbers from foobar2000 plugin. 🤔