Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Tool (linux?) to check for 16-bit FLACs zero-padded to 24-bit? (Read 723 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Tool (linux?) to check for 16-bit FLACs zero-padded to 24-bit?

I'm looking for a tool that can show some of the individual samples from a FLAC file. Mainly to check if a 24-bit FLAC is in fact a 16-bit source with zero-padding to 24-bit.

What's the best way to do this, if there was a Linux tool it would be ideal, but Windows fine also.

Something that can just show me the raw samples in hex would be great.


Re: Tool (linux?) to check for 16-bit FLACs zero-padded to 24-bit?

Reply #2
Pure zero bit padding can also be detected by using
Code: [Select]
flac -ac "file.flac" | less
and then looking at the 'wasted_bits'. In the case of 16-bit padded to 24-bit, there are 8 wasted bits. The tool linked in the previous post can detect various other kinds of paddings, but the simplest of them (pure zero bit padding) can be done with flac.
Music: sounds arranged such that they construct feelings.

Re: Tool (linux?) to check for 16-bit FLACs zero-padded to 24-bit?

Reply #3
https://hydrogenaud.io/index.php?topic=97746.msg1004399#msg1004399


And from that thread, I quote one of the HA cats:

 
Quote
I hope the market does not attempt to sell consumers 24/96 downloads of "high quality" that were converted from CD sources. Yuck.

Written in 2012, the age of y'MQAin't seen noTIDAL yet  ...
Last two months' worth of foobar2000.org ad revenue has been donated to support war refugees from Ukraine: https://www.foobar2000.org/

Re: Tool (linux?) to check for 16-bit FLACs zero-padded to 24-bit?

Reply #4
SoX and its "stats" command. For zero-padded you'll get:
Code: [Select]
]$ sox input.flac -n stats
...
Bit-depth      16/16
...
and for "real" 24-bit:
Code: [Select]
]$ sox input.flac -n stats
...
Bit-depth      24/24
...
You are interested in that second number in Bit-depth line.

Re: Tool (linux?) to check for 16-bit FLACs zero-padded to 24-bit?

Reply #5
Same with ffmpeg astats audio filter.

Re: Tool (linux?) to check for 16-bit FLACs zero-padded to 24-bit?

Reply #6
Quote
I hope the market does not attempt to sell consumers 24/96 downloads of "high quality" that were converted from CD sources. Yuck.
Written in 2012, the age of y'MQAin't seen noTIDAL yet  ...
Consider the fact that even Realtek chips these days support 24/192, these formats themselves have zero meaning.

For newer (e.g. post y2k) productions, "authenticated" hi-rez is nothing more than adding a budget ADC to existing analog chain (mic, preamp, mixer etc). For older music (e.g. 80s and earlier) there is really nothing to improve except for "enhancement" made by modern plugins, AI and so on. These processes for sure will generate a lot of undetectable LSBs, even if they are not smart enough to fill the spectrogram in a visually pleasing way.

In the case of DSD to PCM, if people ignore ENOB, then "bit-depth" is just the data format of the decimation filter.

In fact, apart from detecting and converting some legacy Cool Edit file formats, the tools I made was also an attempt to explain why there is no reliable way to determine the "real" bit-depth and "dynamic range" of audio files.