Compression Algorithms (FLAC, WAV)
Posted by: allhifi on 02 December 2017
A few weeks back, here on the Naim forum, I asked about my discovery of WAV files sounded much better than FLAC copies (dBpoweramp RECORD, Foobar 200 PLAYBACK).
A wave (oh -no pun) of information was brought forward. As I recently reintroduced myself to copying files onto HDD, is when I noted some rather startling realizations -regarding file format and sound quality. And so I inquired as to 'why'. I thank all who responded.
As I continue to be a general interest "hi-fi'er -and perhaps discover more about (copying/transferring CD's) we ultimately stumble upon more and more information. One of those times, came by way of one of the various 'audio software' providers.
For example, regarding compression techniques/formula's, the following has been noted:
5.7 Sparse Sampling of Signals with Finite Rate of Innovation
We don’t need to use standard sampling kernels (Sinc-Functions) to sample and reconstruct a signal.
Bandwidth limited signals, which are a pre-condition for correct sampling (pls. see Chapter 5.6) are of finite rate of innovation.
If a signal has a special property with an even lower degree of innovation then it would be possible to use sampling kernels of a special type like B-Splines (e.g. 0.5; 1; 0.5 for a linear interpolation) instead of E-Splines (exponential kernels).
For audio compression, we could simplify the case further because segments of music can be considered as piecewise super positioned sinusoidal signals plus noise.
In general, it would be possible to approximate these segments with polynomials or indirect as wavelets (https://en.wikipedia.org/wiki/Wavelet) which would allow us to just transmit the polynomial or the low-pass wavelet coefficients to implement a linear compression.
BUT, there is noise which is part of the music!
Even robust sparse sampling algorithms are only able to reduce the residual error in the presence of noise and therefore we lose valuable information to reconstruct the time domain signal.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --
Can this somehow be related to FLAC vs. WAV comparisons?
From what I'm able to ascertain, it appears previously (or currently) believed compressions scheme (lossless/lossy) may NOT be the exact (sound quality) replication of for example, a native WAVE file. Naturally there are various (and compounding) factors influencing our SQ perceptions.
Indeed, it has proven foolish to discredit what more than a few have consistently stated/argued via subjective SQ Interpretations. Although some may have been tinkled pink with CD's introduction in 1982, I assure you, sensitive (critical) listener's were horrified; the very dark days of early digital replay was nothing short of an abysmal attempt at replicating recorded music naturally, authentically, enjoyably.
If it was not for vocal opponents, why would any further research have been undertaken (that ultimately resulted in newly-discovered phenomena to be uncovered, addressed, and corrected) ? To appease the tinkled-pink crowd ? To satisfy those thrilled by early digital CD sound ? Of course, no to all; it was undertaken to learn, discover and implement techniques that proved critical to natural-sounding music replay.
Further research shall surely present some interesting findings moving forward. Such 'discoveries' are always propelled by the simple premise known as "the human experience". Notoriously difficult to put in words. And, (thus far) even more difficult to quantify.
peter jasz