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

Full support for WAV format #24

Open remenor opened 9 years ago

remenor commented 9 years ago

There are currently only a limited support for WAV.

It is possible to support both WAV formats (both current non-standard format -although widely used- as the standard) ?

If not possible, dr14_t.meter can read from standard input (eg in a pipe with sox) ? Which command or trick?

Thanks! Sorry for my english

simon-r commented 9 years ago

What's a non standard wav? For reading the waves I'm using the standard python library.

No, it can not read the file from the stdin.

remenor commented 9 years ago

The "non-standard format" is the traditional and widely supported. Designed in principle to 8 or 16 bits deep (although in general also works with higher resolutions)

The "standard format" is an update of wav format. Designed for multi-channel audio but also for higher bit depths. And eliminating ambiguities of the original format.

http://sox.sourceforge.net/soxformat.html [wavpcm section] https://msdn.microsoft.com/en-us/library/windows/hardware/dn653308%28v=vs.85%29.aspx [Representing High-Resolution Audio section]

Thank you for this excellent software

magicgoose commented 7 years ago

@remenor FYI, I think the support should be full in my remake: https://github.com/magicgoose/simple_dr_meter Because it reads files by piping from ffmpeg, so it supports everything that ffmpeg can correctly decode. It's also probably easy to make it pipe stuff from other sources if needed.