Compression Level in FLAC
Posted by: Rockingdoc on 29 January 2011
Here is the official FLAC site's comparison table:
http://flac.sourceforge.net/comparison_all_ratio.html
Mathematically there shouldn't be a difference between levels as it is a lossless compression, however, there is an impact on the decode hardware streaming in real-time.
I also store Wav versions of everything too. On the KDS Wav sounds better than Flac.
Happy playing
Graham
In terms of CPU time alone FLAC 0 was slightly quicker than FLAC -5; 2:16.09 compared to 2:22.41, but if this very slight increase in CPU time has an audible effect in your system, then surely something is terribly wrong.
Since FLAC is designed to be easy and fast to decode even for modest devices, I would have hoped that a £10k product like the o/p's KDS should be able to do so easily without any issues.
If it can't, what chance has it got with hi-res?
Simon
We have done extensive measurements on power supply disturbance recently, and have compared results for both FLAC and WAV streaming. Our findings are as follows :
1. If we measure the power rail that feeds the main processor in the DS we can clearly see identifiable disturbance patterns due to audio decoding and network activity. These patterns do look different for WAV and FLAC - WAV shows more clearly defined peaks due to regular network activity and processing, while FLAC shows more broadband disturbance due to increased (but more random) processor activity.
2. If we measure the power rails that feed the audio clock and the DAC we see no evidence of any processor related disturbances. There is no measurable difference (down to a noise floor measured in micro-volts) between FLAC and WAV in any of the audio power rails.
3. Highly accurate measurements of clock jitter and audio distortion/noise also show no difference between WAV and FLAC.
The extensive filtering, multi-layered regulation, and careful circuit layout in the DS ensure that there is in excess of 60dB of attenuation across the audio band between the main digital supply, and the supplies that feed the DAC and the audio clock. Further, the audio components themselves add an additional degree of attenuation between their power supply and their output. Direct and indirect measurements confirm that there is no detectable interaction between processor load and audio performance.
One thing that isn't mentioned is internal screening around the board itself. On the KDS this is taken very seriously with internal areas milled into the casing for the processor / audio / psu sections, unlike the ADS / MDS. So there is still the issues of radiated noise from various components affecting others.
James
Uncompressed audio data will always give better results than compressed. Even lossless compression may not reproduce audio with equivalent quality to the uncompressed original as the processing required to uncompress the data increases the computational load. This raises the power supply noise floor, which detracts from the sound quality.
I conclude:
A Linn DS has been engineered to decode FLAC without noise intruding on the power supply to the clock or the DAC.
A Naim NDX hasn't.
(It also follows, to me, that if you have a KDS and FLAC 5 sounds different to FLAC 0 then it may be broken).
Given that storage is so cheap these days i don't see the point in using Flac (not that i can in my Mac centric world)
James
James, you have a point to an extent, however if there is an underlying weakness in terms of RFI/EMC/noise decoupling between the logic and analogue parts of the player - it would imply there could be possible compromises or distortion effects when high definition formats are decoded which are more intensive per unit of time on the power rails than low lower defintion formats, which could undermine the benefit of using these formats.
Simon
You are talking a 3% difference on processor load, and lets remember they are not saying your processor will be working 3% harder only that the difference between 0 and 5 is 3%. For a processor this might mean in real terms .00001% more effort. Furthermore there is no reason to believe or indeed evidence that a 00001% difference on processor load is making any changes to the audio.
And someone somewhere with a beard is stroking it and saying they can hear a difference. Shenanigans pure and simple. Prove it.
However it must be said that I used an old, but dedicated, W7/Foobar laptop for this, feeding a nDac/555PS.
The reason I decode to FLAC, and not WAV, is not for space saving but for tag support assurance between digital sources as I will be moving on from my current laptop to something better in the near future. Once moved on, if it supports tags for wav (as decoded by dbpoweramp), I will move to wav, as in a few previous tests I did find "some" songs sound better in WAV, obviously not fully understanding why so.
I seem to remember the white paper by Naim on the design of the HDX discussed some of these concepts and thier design considerations - another interesting read.
Simon
You are saying that a micro change in EM radiation and you can hear that. Thats what you are saying right there.
Tell us how does the sound change? Can you prove its not you, the electrical supply at the time, wax in your ears, how tired/awake you are etc etc. Micro tiny changes in EM, and you are certain its because of a 3% difference in compression rates of a flac file on a modern computer?
Are you Number 5 or something?
I don't feel I have to prove anything to anyone. I've settled on a ripping/streaming solution that works for me. Other are reporting sonic differences between compression levels and Flac/Wav too.
Spend time listening and work out what works best for you.
As I say and have said before HiFi is a personal expierience, and what sounds good for me does not neccessarily sound good for everyone else, we all listen to things differently. I am fortunate as I am a professional electronics and computer engineer so I know the physics involved so its not all magic to me. But like many of us I have developed my hifi (and other) systems over many years experimenting of what sounds good for and what doesn't.
Can't quite understood your aggression, as I said if all is ok for you and you can't hear differences in certain configurations and equipment setups then great - I would not get up set about it.
Cheers
Simon
Simon
If they do, then I would argue that whatever does the decoding is badly designed.
So, if your network player makes FLAC 5 sound worse than FLAC 0 or WAV, then your network player is the problem, not FLAC.
Linn are big FLAC fans; it is their recommended format; they've evidently gone to some trouble to make sure the processor that does the decoding is isolated from the audio. And their DS just does one job - it is a network player end of story, so they have just one thing to focus their design and implementaton on.
Naim have been, historically at least, big WAV fans. The NDX does all sort of extra things - s/pdif inputs, ring buffering, apple interacting, usb stick decoding, so evidently FLAC decoding is not it's strong point.
Customers will choose.