magicgoose / simple_dr_meter

An (optimized) implementation of the music DR measurement (compliant with http://dr.loudness-war.info/), it supports CUE sheets and is faster than all currently available alternatives (at the time of writing, not sure about now)
GNU General Public License v3.0
20 stars 3 forks source link

Indicate bit depth in the result log #12

Open maplee0 opened 1 month ago

maplee0 commented 1 month ago

Hello! When I use this tool on the folder that include files with different specs it shows only set of files with same sample rate unless next file has different sample rate. Then there is horizontal separation "=" line between them. But when next file has different bit depth, it doesn't append horizontal separation "=" line to the log though it has different bit depth.

For example: File 1 is 16/44.1 File 2 is 16/48 File 3 is 24/44.1

It shows all the files, each file has different sample rate that is true, there is horizontal separation "=" line between each of them. But doesn't show bit depth of each file.

or File 1 is 16/44.1 File 2 is 24/44.1

I think there should be horizontal separation "=" line between them, because they have different bit depth, but there isn't.

Thanks!

magicgoose commented 1 month ago

The impact of bit depth and sample rate on the process of "DR" computation is completely different. Sample rate is kind of important, because various definitions of what a peak level is, heavily depend on where the samples are placed along the waveform. Bit depth, however, has absolutely no importance in relation to this. That is why I chose to just ignore it altogether.