AudioCircle

Industry Circles => Bryston Limited => Topic started by: Pundamilia on 9 Jan 2018, 04:37 am

Title: AIFF vs. FLAC file types
Post by: Pundamilia on 9 Jan 2018, 04:37 am
1. Since both are lossless, but FLAC files can be compressed, is the extra workload required of the BDP-2 to decompress the file of any consequence?
2. Would the BDP-2 processor be happier playing back uncompressed files (less workload)?
3. Are the two formats equivalent in terms of their capacity to transport metadata (e.g. Artist information) and can the BDP-2 pick up the metadata as easily from either format?
4. Are the two formats equivalent in SQ?

Bottom line: what format should I be ripping CDs to?
Title: Re: AIFF vs. FLAC file types
Post by: dB Cooper on 9 Jan 2018, 05:19 am
Bottom
line: Use FLAC IMO.


Regards Question #1, FLAC files are compressed (you state "can be"), I can't think of any real 'advantage' to AIFF other than (as you mention) possibly slightly lower processor load, but no modern processor should be seriously challenged by this, witness the popularity of the Pi which has a fraction of the processor muscle of a full fledged PC, but sees wide use as a server/streamer.

2) Bryston would be the definitive source on this, but I doubt it.

3) Yes to the first part, defer to Bryston on the second.

4) Yes IMHO. Some claim to hear differences but I'm skeptical (to put it mildly) that these differences would survive blind testing.

I suggest FLAC.
Title: Re: AIFF vs. FLAC file types
Post by: charmerci on 9 Jan 2018, 05:35 am
I'm fairly sure that guy will come on here and say that he thinks uncompressed WAV files sounds best. Though they take up much more space about twice as much.

Try both and see if you can hear the difference.
Title: Re: AIFF vs. FLAC file types
Post by: zoom25 on 9 Jan 2018, 05:58 am
I remember one data field was coming off incorrectly with AIFF previously with regards to file track number "01/11" vs. "1/11"...the lack of zero threw it off. FLAC showed up correctly. I don't know if there were other things, but FLAC definitely was the best suited for metadata. WAV was the worst with field entries.

As for SQ, you can also try FLAC uncompressed. Then you can have three uncompressed formats to choose from: FLAC uncompressed, AIFF, and WAV. All the same size as well. Pick a few tracks and convert them to as many formats as you want. You can do batch transcoding with XLD. Throw them on a drive and try it out for yourself.
Title: Re: AIFF vs. FLAC file types
Post by: timind on 9 Jan 2018, 12:29 pm
Bottom
line: Use FLAC IMO.


Regards Question #1, FLAC files are compressed (you state "can be"), I can't think of any real 'advantage' to AIFF other than (as you mention) possibly slightly lower processor load, but no modern processor should be seriously challenged by this, witness the popularity of the Pi which has a fraction of the processor muscle of a full fledged PC, but sees wide use as a server/streamer.

2) Bryston would be the definitive source on this, but I doubt it.

3) Yes to the first part, defer to Bryston on the second.

4) Yes IMHO. Some claim to hear differences but I'm skeptical (to put it mildly) that these differences would survive blind testing.

I suggest FLAC.

You give a recommendation for FLAC without any reason, as far as I can read. What tips the scale to FLAC in your opinion?
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 9 Jan 2018, 01:28 pm
A sonic preference for one lossless type over another lossless type can be readily explained by neurophysiology. Millions of hair cells are tuned to specific sound frequencies inside our ears. The sensitivity of these cells to becoming excited by their tuned freqs will vary with age: many actually die off with age (and with usage: louder music will kill off cells, leading to hearing loss). A perceptual difference between WAV/FLAC/AIFF is explained by the responses of the remaining hair cells to identical freqs of sound waves. To further complicate things, all cells are plastic -- they respond in a variable manner depending on prior experience (i.e. history of listening). Some hair cells also become stiffer with age or with chemical damage, making them harder to excite at specific freqs. (Taking certain antibiotics for a long period will kill inner ear cells, leading to partial hearing loss).

A few other variables also come into play, such as head position/angle and emotional mood when comparing file types on a system.

In the end, a lot of things can happen before the sound waves reach my brain to allow me to perceive a music file as sounding the "same" or "different".

cheers
Title: Re: AIFF vs. FLAC file types
Post by: dB Cooper on 9 Jan 2018, 03:27 pm
You give a recommendation for FLAC without any reason, as far as I can read. What tips the scale to FLAC in your opinion?
I just don't see a compelling case for taking up twice the storage space (and bandwidth, if one is using a NAS setup), so I think a case for uncompressed has to justify that. Since the FLAC file (unlike lossy formats like mp3 and Ogg) decompresses into a bit-perfect replica of the original, I don't think the case is made. HD space is cheap though, so just pick whichever you want.
Title: Re: AIFF vs. FLAC file types
Post by: dB Cooper on 9 Jan 2018, 03:58 pm
A sonic preference for one lossless type over another lossless type can be readily explained by neurophysiology. Millions of hair cells are tuned to specific sound frequencies inside our ears. The sensitivity of these cells to becoming excited by their tuned freqs will vary with age: many actually die off with age (and with usage: louder music will kill off cells, leading to hearing loss). A perceptual difference between WAV/FLAC/AIFF is explained by the responses of the remaining hair cells to identical freqs of sound waves. To further complicate things, all cells are plastic -- they respond in a variable manner depending on prior experience (i.e. history of listening). Some hair cells also become stiffer with age or with chemical damage, making them harder to excite at specific freqs. (Taking certain antibiotics for a long period will kill inner ear cells, leading to partial hearing loss).

A few other variables also come into play, such as head position/angle and emotional mood when comparing file types on a system.

In the end, a lot of things can happen before the sound waves reach my brain to allow me to perceive a music file as sounding the "same" or "different".

cheers

None of the above, as far as I understand your argument, has anything to do with the file type per se- your hair cells, whether healthy or not, do not change characteristics when you are playing a FLAC file (which, to repeat myself, unpacks into a bit-perfect replica of the original file) vs, say, an AIFF or WAV file. Neither do the file characteristics change when the angle of your head (or your state of mind, or attentiveness), change- although any of these things can affect our experience of a musical event, they have nothing to do with the characteristics of the file itself. I might be more relaxed on one occasion and my system 'sounds better' and bothered by something another time- when I was a younger person, my stereo used to sound better after some herbal 'enhancement' even though I know that the sound of my system didn't actually change, just my perception thereof- but those are not inherent SQ issues, which as I understand it is the original topic.
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 9 Jan 2018, 04:19 pm
From pundamilla:
4. Are the two formats equivalent in SQ?

dBCooper:
"Inherent SQ" is impossible to define or measure for lossless files. SQ is purely subjective, regardless of file type. If you really meant frequency spectra, than yes, those are measurable, but are not equal to "Inherent SQ".

All the zeros and ones are the same with lossless files -- that fact does not explain WHY PERCEPTION of the files differs between SOME individuals. Brain circuitry can explain that.

In the end, the brain determines auditory perception; it is the final "instrument" regardless of file type. [I don't give a rat's ass about blind A/B comps or whatever. Your brain changes from moment to moment, across all sensory modalities].


cheers
Title: Re: AIFF vs. FLAC file types
Post by: zoom25 on 9 Jan 2018, 04:20 pm
There's a easy way to test this blindly on MPD. Pick one song, have a compressed version and an uncompressed version added say 5 or 10 times each. Then hit the shuffle button. See if you can figure it. Get another person to note down whether it was the FLAC or WAV version.

Before somebody comes in and says for the billionth time "they are all lossless and bit-identical"...just know that this isn't about that but rather the noise generated due to the CPU and/or I/O of compressed vs. uncompressed. (EDIT: CanadianMaestro beat me by a minute).

http://thewelltemperedcomputer.com/KB/WAV-FLAC.htm

Or you can stick with maximum compressed FLAC to save the most space and have perfect metadata, and have it sent as PCM to the BDP-1. Roon does this. I think other DLNA programs also sends PCM?

This conversation has been done many more times on Naim forums. Those guys would also find WAV to sound better against FLAC when the decoding took place in the box, but when they started transcoding to PCM before being sent to their Naim boxes, the differences went away.

With this approach, you get maximum compression (storage space WIN), best metadata of your choosing, and best (same) SQ. You'll never have to worry about file formats again as far as SQ goes.
Title: Re: AIFF vs. FLAC file types
Post by: Krutsch on 9 Jan 2018, 04:25 pm
You give a recommendation for FLAC without any reason, as far as I can read. What tips the scale to FLAC in your opinion?

Manic Moose and MPD are far better at reading tags (meta data) from FLAC files than from AIFF or WAV. There is no other reason to consider one over the other - they will sound exactly the same.

I've actually measured CPU utilization on a BDP-1 with different codecs, using high-res files. The only file type that really presented a significantly different result was ALAC. Apple Lossless allows for extremely flexible tagging (i.e. tags can appear just about anywhere in the media file), which causes a bump in CPU utilization when decoding and playing back the file. I can't recall the numbers, but it was a large difference. FLAC, WAV and AIFF were very similar, with respect to the CPU during playback.
Title: Re: AIFF vs. FLAC file types
Post by: Pundamilia on 9 Jan 2018, 04:36 pm
Thank you folks for your opinions and sage advice. Subject to my own personal listening tests, it looks like FLAC is the winner.

I have to agree with the comments regarding the subjectivity of *perception* of SQ. It is certainly personal and I suspect (as others have suggested) that is also the function of many other factors (mood, alcohol or other substances consumed, situation, etc.).

I appreciate the discourse and hope that others have learned as much from it as I have. :D
Title: Re: AIFF vs. FLAC file types
Post by: Syrah on 9 Jan 2018, 04:47 pm
I have a dedicated CAPS server using JRiver and Audiophile Optimizer.  I did blind A/B comparisons.  AIFF beat FLAC on my system to my ears.  Am I going to re-rip my entire CD collection and buy an additional NAS for the extra storage.  Uh, no.  Not anytime soon.  But I am re-ripping the stuff I really like, in AIFF.

My experience.  Potential technical reasons for this - I don't know.
Title: Re: AIFF vs. FLAC file types
Post by: charmerci on 9 Jan 2018, 05:28 pm
Since you have JRiver and if sound is that important - this thread talks about better sounding programs -

http://www.audiocircle.com/index.php?topic=154436.0

though to use them, you have to pay yearly fees.
Title: Re: AIFF vs. FLAC file types
Post by: Syrah on 9 Jan 2018, 06:33 pm
Cool.  Thanks.  I have been thinking about Roon.  I read a post somewhere that it plays very nicely with old Squeezebox devices too.  So it might be a good whole house solution, in addition to potentially having better sounds, and working well with Tidal, etc.
Title: Re: AIFF vs. FLAC file types
Post by: TJ-Sully on 9 Jan 2018, 10:58 pm
Have you guys tried A/B tests of tracks ripped from dBpoweramp vs. iTunes?
I've ripped about 100 CD's using iTunes....but thinking of getting specific software to complete this task more accurately.
any thought on this?
T
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 9 Jan 2018, 11:02 pm
Have you guys tried A/B tests of tracks ripped from dBpoweramp vs. iTunes?
I've ripped about 100 CD's using iTunes....but thinking of getting specific software to complete this task more accurately.
any thought on this?
T

I highly recommend a separate rip software. Peace of mind, mostly. No idea what Apple puts into their software...(if their iPhone stuff is any indication... :o ).

cheers

Edit: You answered your own query: ACCURACY
Title: Re: AIFF vs. FLAC file types
Post by: TJ-Sully on 9 Jan 2018, 11:41 pm
what software do you use, CM?
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 9 Jan 2018, 11:44 pm
what software do you use, CM?

Chief, I use XLD because I am a Mac fanboy.  :lol:
But dBPoweramp is very good, I'm told.
Deadly accurate. 
Title: Re: AIFF vs. FLAC file types
Post by: OTM on 10 Jan 2018, 03:15 am
Chief, I use XLD because I am a Mac fanboy.  :lol:
But dBPoweramp is very good, I'm told.
Deadly accurate.

I have been using dBPoweramp for a couple of years now, pleased with results, and easy to use.
Title: Re: AIFF vs. FLAC file types
Post by: Anonamemouse on 10 Jan 2018, 02:15 pm
dBPoweramp can be set up to various levels of accuracy, from "Yeah, I'm pretty sure it's okay on the first run", to "I WANT THIS CHECKED 18 TIMES TO MAKE SURE EVERY LITTLE 0 AND 1 IS THERE! AND THEN CHECKED AGAIN!!!"
Title: Re: AIFF vs. FLAC file types
Post by: Syrah on 10 Jan 2018, 02:19 pm
I use DBpoweramp too.  My above comparison with both formats was using DBpoweramp on the highest level of accuracy.
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 10 Jan 2018, 03:39 pm
dBPoweramp can be set up to various levels of accuracy, from "Yeah, I'm pretty sure it's okay on the first run", to "I WANT THIS CHECKED 18 TIMES TO MAKE SURE EVERY LITTLE 0 AND 1 IS THERE! AND THEN CHECKED AGAIN!!!"

 :lol: :lol:

In other words, ranging from

"Naively overconfident and stupid"

to

"F--- OCD and on prescription sedatives".  :roll:

~~~~~~~~~~~~~~~~

Cheers
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 15 Jan 2018, 12:12 pm
-----  I did blind A/B comparisons.  AIFF beat FLAC on my system to my ears
My experience.  Potential technical reasons for this - I don't know.

Curious -- could you share with us, what did you hear in AIFF that was lacking in FLAC?

cheers
Title: Re: AIFF vs. FLAC file types
Post by: Syrah on 15 Jan 2018, 01:56 pm
A bit more detail and resolution.  Not night and day, but noticeable.
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 15 Jan 2018, 02:21 pm
A bit more detail and resolution.  Not night and day, but noticeable.

what DAC are you using?

cheers
Title: Re: AIFF vs. FLAC file types
Post by: gbaby on 15 Jan 2018, 04:17 pm
A bit more detail and resolution.  Not night and day, but noticeable.

I read dbpoweramp does not use genuine .aiff, but rather a "pseudo" aiff.  :o
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 15 Jan 2018, 05:08 pm
 :banghead:
Title: Re: AIFF vs. FLAC file types
Post by: Syrah on 16 Jan 2018, 02:48 pm
I'm now using a Modwright Oppo Sonica DAC.  Again, I have no idea what the technical differences are.  But it's a 15 minute experiment to rip the same disk in FLAC and then in AIFF and have a friend flip back and forth blind.  Done.  Hopefully FLAC wins as it does take a lot less space.
Title: Re: AIFF vs. FLAC file types
Post by: charmerci on 16 Jan 2018, 04:26 pm
I'm now using a Modwright Oppo Sonica DAC.  Again, I have no idea what the technical differences are.  But it's a 15 minute experiment to rip the same disk in FLAC and then in AIFF and have a friend flip back and forth blind.  Done.  Hopefully FLAC wins as it does take a lot less space.

Could you do a small favor and try a WAV file and tell us what you think?
Title: Re: AIFF vs. FLAC file types
Post by: Syrah on 17 Jan 2018, 07:42 pm
Not for a while I'm afraid.  I recently moved and all of my ripping stuff is all packed up.  I think I might have tried it already, but I don't recall.
Title: Re: AIFF vs. FLAC file types
Post by: zoom25 on 17 Jan 2018, 08:12 pm
Previous threads and their results:

http://www.audiocircle.com/index.php?topic=139572.0

http://www.audiocircle.com/index.php?topic=103168.0

Out of the many forums and hundreds of threads I've read for this topic, the results have been:

1) No difference detected

2) Among those who detect a difference - preference for the uncompressed (usually WAV) over the compressed (FLAC, ALAC).

3) Occasionally you do find a minority that prefers the compressed over uncompressed.

Typical descriptions: WAV sounds more open, 3D and dynamic. FLAC can sound more closed in and controlled (especially in the bass region), but on some systems this can come off as cleaner sounding which may explain the small minority's preference for FLAC. Again, I have to reiterate that any potential differences are solely based on byproduct noise (patterns - constant noise vs. intermittent peaks) of the processing (CPU and I/O).

FLAC consumes slightly more CPU than WAV for decoding. However, the I/O for WAV is bigger: http://thewelltemperedcomputer.com/KB/WAV-FLAC.htm

I don't know how it is for BDP-2 or BDP-3, but BDP-1 accesses the hard/flash drive in MPD every few seconds while playing.
Title: Re: AIFF vs. FLAC file types
Post by: R. Daneel on 23 Feb 2018, 02:23 pm
To answer your question #4, it is mathematically impossible for these formats to sound different from one another. Providing everything is right with the encoding and decoding side of things, the dana is exactly the same. This is the shortest explanation I can think of.
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 23 Feb 2018, 03:11 pm
^ And yet, some people hear differences.
Title: Re: AIFF vs. FLAC file types
Post by: James Tanner on 23 Feb 2018, 03:22 pm
I think one of the issues is there is so much going on behind the scenes when it comes to the digital signal path its difficult to know what is actually happening and what manipulation is going on from point A to Point B.

One of the reasons I had for developing the BDP Digital player product way back when was I was finding that files were not BIT Perfect using my Windows or MAC computer as the source - things like KMIXER in Windows for example and such was screwing with the signal.  Also some products Upsample all the digital signals going in to DSD or higher resolution status and you are not in fact hearing the Native file.

Also not sure if this matters but the software used to transfer files from one point to another may in fact alter the signal in some unforeseen way.

Its had to argue against the math though.

james
Title: Re: AIFF vs. FLAC file types
Post by: CanadianMaestro on 23 Feb 2018, 03:27 pm
I think one of the issues is there is so much going on behind the scenes

One of the reasons I had for developing the BDP Digital player product way back when was I was finding thats files were not BIT Perfect using my Windows or MAC computer as the source - things like KMIXER in Windows for example and such was screwing with the signal. 

james

James,

Yet there are some who use the BDP (a great product that I highly endorse), and still claim to hear diffs between file types. With all else constant (cables, external drives, etc).

What gives?

cheers
Title: Re: AIFF vs. FLAC file types
Post by: James Tanner on 23 Feb 2018, 04:22 pm
James,

Yet there are some who use the BDP (a great product that I highly endorse), and still claim to hear diffs between file types. With all else constant (cables, external drives, etc).

What gives?

cheers

No idea !!!
Title: Re: AIFF vs. FLAC file types
Post by: zoom25 on 23 Feb 2018, 07:15 pm
From The Absolute Sound's review of the BDP-2: http://www.theabsolutesound.com/articles/bryston-bdp-2-digital-player/?page=3

Quote
I was surprised to find that playback of DLNA streamed files sounded consistently more refined, open, and relaxed than playback of those same files accessed through the shared NAS folder. Perhaps the DLNA protocol provides additional local data handling at the source end, facilitating smoother transmission over the network. Playback via NAS file-share access imposed a crude, grainy, airless haze over the music. Using the BDP-2’s DLNA client to play the same files streamed by the source computer’s DLNA server substantially reduced those unpleasant artifacts.

However, neither networked playback mode came close to the performance of the directly connected USB hard drive. Music played over the network exhibited a disembodied, diffuse quality, lacking foundation, substance, and presence, never remotely suggestive of the real thing. The notes were there, but not the instruments that generated those notes. In stark contrast, music played from a USB hard drive connected directly to the BDP-2 engages the listener’s attention with vitality, immediacy, and dramatically superior resolution.
Title: Re: AIFF vs. FLAC file types
Post by: zoom25 on 23 Feb 2018, 08:03 pm
I'll make this observation. Quick thought experiment.

Say you only have a single flash drive plugged into the BDP. Nothing else. It has the same track in flac and wav. Let's assume they sound different and we are able to double blind this. It holds up statistically. The hardware itself has not changed. Only thing that changes is FLAC and WAV. At this stage, if you had to guess, do you think the ultimate cause of this was in the software or hardware domain? I'm sure there will be ripple effects and proximate causes as well, which further muddy up things. But think of the ultimate cause.

Regarding WAV and FLAC, I've read most, if not all, of the previous Bryston threads on FLAC and WAV. Some hear it, others don't. I'd say most don't. Furthermore, most are not as likely to even entertain the difference existing in this case.

Let's switch over to Roon. Both MPD and Roon are bit perfect. Let's have the same devices, switches, and cables in play. Nothing else plugged into the BDP. The computer will act as both Roon Core and NAS, for both Roon Ready and MPD respectively. This ensures that the hardware used and the transmission method (ethernet) will be the same between Roon and MPD.

With Roon and MPD, a lot more people come out and notice a difference, even if you control for MPD being used through ethernet or local USB drives. This is not exclusive to Bryston. Go read the Roon forums and you'll see numerous discussions from customers of other manufacturers voicing the same thing. Different sound between local processing vs streamed music, even if the music is delivered by ethernet in both cases.

In this second scenario, let's assume we did a double blind test and found the differences to be statistically significant. Keep in mind that everything was same hardware wise. Would you think the ultimate cause for this was software generated. I'm sure the proximate causes for this will be even more interesting.

Keep in mind that people find the difference between MPD and Roon to be bigger than FLAC vs WAV. If the difference between MPD and Roon is software generated and this is something that people seem to easily accept, then why couldn't this be applied and extended to FLAC vs. WAV?

To make sure I don't botch this:

1) Hardware is kept constant.

2) Bit streams are perfect in all mode and mathematically identical.

3) Any sound difference generated is the ultimate result of how the software differs. This difference in software is potentially resulting in different amounts of generated noise (CPU and I/O). It's the hardware that ultimately produces the noise and generates any differences in sound. However, it's the software that governs how the hardware behaves.

Another important distinction that needs to be addressed in FLAC vs WAV. People will often say that the differences in decoding and handling is minimal and should not be audible. With Roon and MPD, I've seen people here more willingly to believe that this processing difference is enough to cause a difference in sound.

--> If we assume this to be true, then the next challenging question becomes: At what point does the difference in software and system resource usage stop being audible?

I'll leave it here for now.

EDIT: I will also add that we all use the term "noise" very loosely, especially when talking about CPU generated noise. We don't talk about the bandwidth, pattern, intensity, frequency whatsoever.
Title: Re: AIFF vs. FLAC file types
Post by: skunark on 24 Feb 2018, 12:51 am
On linux, you have to go through the ALSA drivers and everything needs to be converted to PCM.  So MPD/Roon will call a decoder for lossless uncompression for  flac (or ALAC, and a lossy uncompression for mp3, aac, etc).  WAVs and AIFF are already uncompressed and just have to match the byte ordering (endianness) for the CPU architecture.    You can log on to the BDP (RPI, or other linux machine) and see the CPU increase when playing a FLAC or ALAC when compared to AIFF or WAV.   

You can argue that FLAC is more mature than AIFF on linux, but you can't say that with AIFF or WAV.   Roon and MPD could be using different decoders, unlikely but possible, then if one wasn't bit perfect then sure maybe you will hear but easily measure a difference.   Any easy check is to play various formats and monitor the sound card to make sure that it matches the bit-rate of the song you are playing.

So now it is up to MPD/Roon to convert to PCM based on the decoders they have selected, assuming both are doing a bit-perfect playback, then is the increase of CPU usage causing enough heat to distort the digital outputs of the BDP?    Probably not, but that would be measurable and I would assume you would have to play enough of one format for it to reach a steady state to be measurable.     Even though the PCM is source synchronous you would need to find a DAC that does clock recovery from the PCM for it to be impacted, most if not all DACs have a synchronizing FIFO and use one or more oscillators for the D/A core.   

People hear what they hear and think what they think, but having a beer will be more impacting to the sound than the file format.

Title: Re: AIFF vs. FLAC file types
Post by: skunark on 24 Feb 2018, 01:00 am
What's interesting about Roon is i've had some drop offs and playback speed issues when the source is Tidal.   Just pausing the song clears up the issue, but makes me feel that Roon isn't optimized and not nearly as mature as others media players.   

Jim
Title: Re: AIFF vs. FLAC file types
Post by: skunark on 24 Feb 2018, 01:03 am
1. Since both are lossless, but FLAC files can be compressed, is the extra workload required of the BDP-2 to decompress the file of any consequence?
2. Would the BDP-2 processor be happier playing back uncompressed files (less workload)?
3. Are the two formats equivalent in terms of their capacity to transport metadata (e.g. Artist information) and can the BDP-2 pick up the metadata as easily from either format?
4. Are the two formats equivalent in SQ?

Bottom line: what format should I be ripping CDs to?

Flac as it has a built-in file checksum that can be useful for detecting disk-rot and other problems.   Also if you rip with AcccuRIP/Exact Audio Copy then you know the rip is good and will always have a checksum to compare against.    Then you can batch convert from FLAC to any file format you need.
Title: Re: AIFF vs. FLAC file types
Post by: Krutsch on 24 Feb 2018, 01:56 pm
On linux, you have to go through the ALSA drivers and everything needs to be converted to PCM.  So MPD/Roon will call a decoder for lossless uncompression for  flac (or ALAC, and a lossy uncompression for mp3, aac, etc). 

...

People hear what they hear and think what they think, but having a beer will be more impacting to the sound than the file format.

Just for clarification: Roon does any decoding on the Core device (your server or laptop or NAS box) and sends across as PCM wrapped within their proprietary protocol (RAAT). The BDP doesn't have to do this work as an endpoint.

As an FYI, I've loaded different encodings of the same audio track on my BDP-1 and monitored CPU utilization during playback (i.e. ssh into the box and look at the mpd process). WAV, AIFF and FLAC were pretty similar w/ 192/24 files, with FLAC requiring slightly more CPU, but mpd was still near single-digit % of CPU utilization, If I recall correctly.

The outlier was ALAC, which used a LOT more CPU for the same track (30+%? ). ALAC is more costly to decode because it allows meta data to be placed arbitrarily within the file. But, yes, in the end, they all produce the same PCM data. On a BDP-3, with its greater processing power, I would expect the differences to be minimal.

Finally, as I've stated before, FLAC is the best choice only because MPD and Manic Moose are far better at reading the meta data - I've had mixed results with both AIFF and WAV in this regard. If you think decompressing the FLAC file on playback is ruining your music, then you simply use FLAC without compression.

The beer part is probably true, but for me the audio enhancement tool is scotch.
Title: Re: AIFF vs. FLAC file types
Post by: Krutsch on 24 Feb 2018, 02:01 pm
What's interesting about Roon is i've had some drop offs and playback speed issues when the source is Tidal.   Just pausing the song clears up the issue, but makes me feel that Roon isn't optimized and not nearly as mature as others media players.   

Jim

IMO, the speed of your Roon Core matters a lot more than Roon would like to admit. I used to run Roon Server on a Mac Mini (2012 model) and I would occasionally experience what you describe. When I moved to a MacBook Retina (quad i7 w/ 16 GB RAM, SSD), wired to the same switch as my BDP-1, all of that went away for me...

As always, YMMV.
Title: Re: AIFF vs. FLAC file types
Post by: R. Daneel on 24 Feb 2018, 02:10 pm
James,

Yet there are some who use the BDP (a great product that I highly endorse), and still claim to hear diffs between file types. With all else constant (cables, external drives, etc).

What gives?

cheers

Hi mate!

Like I said, providing (and only if) everything is fine with the encoder and decoder, there cannot be any differences. It is simply not possible because the bit checksum must be identical even if bit allocation is different. It is either this or the encoding process is not truly lossless. There is no third.

The bigger problem I see here is that threads like these are full of people mentioning type of ripping software and encoder they're using when I know for a fact they're flawed. As much as it grieves me to say it, there are far less ripping engines that do work than there are those that don't work. I always recommend Exact Audio Copy (EAC) in Secure Mode which is a bit complicated to set up but ultimately very worthwhile. Depending on condition of the CD and CD-ROM's capabilities, ripping a single disc may take anywhere from 15 minutes to an hour and a half. If you want to rip your CDs properly, this is what it takes.

I've even seen people comparing two rips of the same CD claiming there is a difference when in fact one of the two was ripped with the channels reversed! No doubt, the CD-ROM used was to blame since some of the drives based on LG platform have this particular "feature".

Perhaps that an extreme example but is speaks volumes about the necessary preparation these people have taken (or rather, didn't take) before they started comparing.

The point is, people will compare anything not knowing what they're really doing or not even having enough patience to do a bit of reading before they start doing it.

Some ripping engines and encoders have the ability to change the overall SPL of the rip not to mention all sorts of filtering that can be applied, and usually is applied by default unless you make a change in the settings menu. Yet, nobody is talking about that, only that they can "hear a difference".

I have a few discs ripped in WAV that sound terrible, simply terrible. The original disc from which they were ripped sounds much better. I also have a number of files ripped to 320kbps MP3 that sound very close to the original CD and generally, much better than the improperly-ripped WAV files.

There are some really very expensive HDD/network players out there. Naim in particular makes a couple of them and these include CD rippers. Naim claims their engine is better than anything else on the market (don't they all?) but that's not really true. It can only be as good as something like EAC, not better, because EAC already incorporates everything. Naim has success with these devices PRECISELY because it is easier to spend money than to spend time! Of course Naim is better! It's better than most of the stuff out there. It just isn't better than something good, something that requires a bit of effort.

Wow, this has somehow turned into a long post!

Cheers!
Antun
Title: Re: AIFF vs. FLAC file types
Post by: maty on 24 Feb 2018, 02:34 pm
2018 or 2008 year?

The musical information is the same because they are lossless but...

The problem is the compression. More decompression work -> more CPU -> more jitter!

Yes, the CPU generates jitter than we can not eliminate but yes minimize.

In my system, I can differentiate between FLAC 8 and FLAC 0. And more easy between 16/44, 16/96, 24/96 too.

With AIFF, WAV or FLAC 0 not.

By the way, it is important to update FLAC 1.3.2

And to optimize the S.O. to play multimedia. The soft players too. And...
Title: Re: AIFF vs. FLAC file types
Post by: Krutsch on 24 Feb 2018, 02:52 pm
2018 or 2008 year?

...

The problem is the compression. More decompression work -> more CPU -> more jitter!

...

Nope. Jitter is not created or added-to in the digital processing domain (i.e. while decompressing a file).
Title: Re: AIFF vs. FLAC file types
Post by: maty on 24 Feb 2018, 02:57 pm
The CPU is not an ideal machine.

And if we forced the CPU to work with avx2 instructions with sound files -> less jitter -> better sound.

Of course, with good records and system with low noise. Bad records and systems with high noise mask the jitter. That is why many are unable to appreciate the difference and not because they are deaf and others golden ears.

One of my sayings in audio: noise (of all kinds) is our enemy.
Title: Re: AIFF vs. FLAC file types
Post by: maty on 24 Feb 2018, 03:27 pm
Bit Perfect Jitter

http://thewelltemperedcomputer.com/KB/BitPerfectJitter.htm
Title: Re: AIFF vs. FLAC file types
Post by: skunark on 24 Feb 2018, 05:14 pm
IMO, the speed of your Roon Core matters a lot more than Roon would like to admit. I used to run Roon Server on a Mac Mini (2012 model) and I would occasionally experience what you describe. When I moved to a MacBook Retina (quad i7 w/ 16 GB RAM, SSD), wired to the same switch as my BDP-1, all of that went away for me...

As always, YMMV.

I think this makes Roon a poor choice, it's using .net/mono so it's not at all optimized for linux or mac, maybe optimized for windows.   So its bloatware to begin with, but it does simplify the client.    The RAAT protocol can't seem to synchronize multiple devices very well either. Airplay had this down easily, but then its forces 24/48 playback so the task is easier.   

I've been finding the Roon iOS app buggy and the Tidal integration is very poor.

Jim
Title: Re: AIFF vs. FLAC file types
Post by: skunark on 24 Feb 2018, 05:33 pm
2018 or 2008 year?

The musical information is the same because they are lossless but...

The problem is the compression. More decompression work -> more CPU -> more jitter!

Yes, the CPU generates jitter than we can not eliminate but yes minimize.

In my system, I can differentiate between FLAC 8 and FLAC 0. And more easy between 16/44, 16/96, 24/96 too.

With AIFF, WAV or FLAC 0 not.

By the way, it is important to update FLAC 1.3.2

And to optimize the S.O. to play multimedia. The soft players too. And...

CPUs fetch 64 bytes at time, more than enough decode and keep a sound card buffer full on a dedicated music player.    Jitter doesn't get introduced until the PCM single-bit stream anyway.

Title: Re: AIFF vs. FLAC file types
Post by: skunark on 24 Feb 2018, 05:36 pm
The CPU is not an ideal machine.

And if we forced the CPU to work with avx2 instructions with sound files -> less jitter -> better sound.

Of course, with good records and system with low noise. Bad records and systems with high noise mask the jitter. That is why many are unable to appreciate the difference and not because they are deaf and others golden ears.

One of my sayings in audio: noise (of all kinds) is our enemy.

vector instructions just helps efficiency, you won't see that in a BDP or RPI for a very very long time.
Title: Re: AIFF vs. FLAC file types
Post by: maty on 24 Feb 2018, 05:41 pm
I have been for months, almost a year, doing it that way and the sound is much better, more pleasant, with more bass, more believable, more exciting.
Title: Re: AIFF vs. FLAC file types
Post by: maty on 24 Feb 2018, 06:10 pm
Just now with a new 24/192 FLAC vinyl rip (TELARC). The music fills the room. From good sound -> better sound +  EMOTION.

Boito*, Verdi*, Robert Shaw, The Atlanta Symphony Orchestra* And Chorus*, John Cheek, The Young Singers Of Callanwolde, The Morehouse-Spelman Chorus ‎– Prologue To Mefistofele / Te Deum (1980)

https://www.discogs.com/Boito-Verdi-Robert-ShawAtlanta-Symphony-Orchestra-And-Chorus-John-CheekYoung-Singers-Of-CallanwoldeM/release/4534535

---------------------------------------------------------------------------------------------
 DR      Peak      RMS      Filename
----------------------------------------------------------------------------------------------

 DR14      -1.05 dB    -22.10 dB    A Prologue To Mefistofele - Composed By - Arrigo Boito - I Prelude And Chrous, II Instrumental Scherzo And Dramatic Intermezzo. III Vocal Scherzo.aif
 DR13      -0.47 dB    -19.95 dB    B1 Prologue To Mefistofele - Composed By - Arrigo Boito - IV Final Psalmody.aif
 DR15      -0.91 dB    -22.12 dB    B2 Te Deum (No. 4 Of Quattro Pezzi Sacri) - Composed By - Giuseppe Verdi.aif
----------------------------------------------------------------------------------------------

 Number of files:   3
 Official DR value:   DR14

==========================================

* avx2 also with multimedia players and not only sound files.
Title: Re: AIFF vs. FLAC file types
Post by: Krutsch on 24 Feb 2018, 09:32 pm
...

I've been finding the Roon iOS app buggy and the Tidal integration is very poor.


What? Where do you think Tidal integration is done better?
Title: Re: AIFF vs. FLAC file types
Post by: skunark on 25 Feb 2018, 12:19 am
From Roon, you can't update or modify a playlist but for some reason you can delete it?
From Tidal, when you update or modify a playlist those changes don't appear on Roon after syncing.   Seems like you can only duplicate the playlist on the desktop app and add to it before you sync it with Roon.   

Rather basic integration features missing from two premium products.   

As in better, well beets does a good job for regular expression playlists and can sync across mpd, plex and other services and even users. 


Title: Re: AIFF vs. FLAC file types
Post by: R. Daneel on 25 Feb 2018, 09:37 am
2018 or 2008 year?

The musical information is the same because they are lossless but...

The problem is the compression. More decompression work -> more CPU -> more jitter!

Yes, the CPU generates jitter than we can not eliminate but yes minimize.

In my system, I can differentiate between FLAC 8 and FLAC 0. And more easy between 16/44, 16/96, 24/96 too.

With AIFF, WAV or FLAC 0 not.

By the way, it is important to update FLAC 1.3.2

And to optimize the S.O. to play multimedia. The soft players too. And...

Jitter is generated in clocking mechanisms and input receiver chips. Internet is full of those "who just know". Don't buy into their stories.
Title: Re: AIFF vs. FLAC file types
Post by: maty on 25 Feb 2018, 10:46 am
Software digital processing do not generate jitter.

But the CPU hardware yes. In modern Intel/AMD CPU you can minimize the jitter generation with avx2 instructions. Maybe noise and RF/EMI interferences too.

I also doubted in his day but I decided to do the test and in my system the difference is very much noticeable.

And the improvement I notice is consistent with what others say when they reduce jitter. The key word for me is EMOTION.

http://thewelltemperedcomputer.com/KB/BitPerfectJitter.htm

At the end of page:

Quote
The sound of jitter

In general I find jitter to cause a loss in "inner detail" which usually relates to a "flatter" sound. It looses the "liveness", it becomes boring. Sometimes I find jitter also effects bass significantly. This is strange because I would expect high frequencies to be more susceptible, but I frequently hear a significant improvement in bass articulation when decreasing jitter.

Its hard to listen to a piece of gear and say "thats got high jitter" just by listening, because many other things can cause similar sonic effects. By building my own gear I've been able to do quite a few tests where I can hold everything equal except change jitter and can definately hear major improvements in sound by lowering jitter.

But frequently similar changes can be had (for example) by upgrading the power supply of the preamp.

Another issue is all jitter is not the same. The spectrum has a lot to do with it. I have one receiver with 200 ps of jitter that sounds significantly better than another with 50ps, BUT the spectrum is radically different between them. Thus just picking the lowest published "jitter number" will not guarantee the best sound.

John Swenson
Title: Re: AIFF vs. FLAC file types
Post by: maty on 25 Feb 2018, 12:14 pm
Software jitter, Paul McGowan

http://www.psaudio.com/pauls-posts/software-jitter/

Article and comments. Jitter, noise, EMC interferences, power...

And I am sorry by the long off topic.
Title: Re: AIFF vs. FLAC file types
Post by: maty on 26 Feb 2018, 07:58 pm
Again, with a new 24/192 FLAC vinyl rip. The sound is much better now and not only better.

Nicolo Paganini* - Salvatore Accardo, Charles Dutoit, The London Philharmonic Orchestra ‎– Violin Concerto No.2 La Campanella (1977)

https://www.discogs.com/Nicolo-Paganini-Salvatore-Accardo-Charles-DutoitLondon-Philharmonic-Orchestra-Violin-Concerto-No2-La/release/7738883

(https://img.discogs.com/A3VoOzgtxhK-tgYszGVWZIavxRk=/fit-in/336x343/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-7738883-1448812282-8074.jpeg.jpg)

----------------------------------------------------------------------------------------------
 DR      Peak      RMS      Filename
----------------------------------------------------------------------------------------------

 DR15      -0.68 dB    -21.89 dB    A1 Konzert Fuer Violine Und Orchester Nr. 2 H-Moll Op. 7 'La Campanella' - 1. Allegro Maestoso.aif
 DR15      -0.64 dB    -22.32 dB    A2 Konzert Fuer Violine Und Orchester Nr. 2 H-Moll Op. 7 'La Campanella' - 2. Adagio - 3. Rondo.aif
 DR18      -0.84 dB    -26.68 dB    B1 La Primavera Andante Sostenuto - Larghetto - Variazione - Allegro Moderato - Tema - Variazioni I-IV - Finale.aif
 DR19      -1.03 dB    -26.36 dB    B2 Introduzione E Variazioni Sul Tema 'Non Piu' Mesta' Da 'La Cenerentola' Di Rossini Introduzione - Adagio Cantabile - Tema. Moderato - Variazioni I-IV - Finale. Allegro - Tempo Del Tema - Piu' Presto.aif
----------------------------------------------------------------------------------------------

 Number of files:   4
 Official DR value:   DR17

=======================


- The End -
Title: Re: AIFF vs. FLAC file types
Post by: skunark on 26 Feb 2018, 09:51 pm
Just wait until AVX-512, i'm sure those RFs will be non-existence then    :duh:
Title: Re: AIFF vs. FLAC file types
Post by: skunark on 26 Feb 2018, 09:55 pm
IMO, the speed of your Roon Core matters a lot more than Roon would like to admit. I used to run Roon Server on a Mac Mini (2012 model) and I would occasionally experience what you describe. When I moved to a MacBook Retina (quad i7 w/ 16 GB RAM, SSD), wired to the same switch as my BDP-1, all of that went away for me...

As always, YMMV.

I just killed off Roon, the iOS app crashed repeatedly, so even i needed a dedicated server for Roon, I don't think the product is mature enough even though it's been around for a while.   MPD still owns playback with next to no resources and next to no issues.     I know Roon did more than that, but integration with Tidal is very lacking and I don't need a Roon server to help me rediscover my own music.

Jim
Title: Re: AIFF vs. FLAC file types
Post by: zoom25 on 27 Feb 2018, 08:42 pm
I've been trying MPD playback off the wireless setup with a NAS (hard drive attached to the router). This way I'd only have the adapter + Jitterbug plugged into the BDP-1 and nothing else. I had nothing else plugged into the circuit besides the Torus and audio gear. All computers and devices unplugged and on another circuit on another floor. Only had an iPad in the room to control. I don't think it made a difference whatsoever, but just to be sure. Connection on the BDP-1 and the iPad app were stable for both Roon and MPD. Both flawless in stability. This allowed for a fair comparison between MPD and Roon in wireless mode as well. I've already done this in wired mode.

At this point, I think I've tried out all the possible ways to run Roon and MPD with the following devices and with various combinations among these devices:

Flash drives, Portable hard drives, external powered drives, USB hubs, Jitterbugs, 5V linear power supply, 2 x ethernet switch, bridged ethernet connection between Mac and BDP-1, wireless USB adapter, FLAC vs. WAV. vs Roon, and DLNA.

It's been time consuming and exhaustive over the past 1.5 years.

MPD (especially with FLAC) in comparison to Roon will each have a distinct sound that stays throughout all the combinations. I think this boils down to the CPU usage and network patterns.

In general, I also find that BDP-1's power supply is excellent and with a low noise floor. Whether it was USB hubs, Powerline adapters, stock switching power supply for the switch, or even external LPS, they all had an influence on the noise floor and how dynamic and clean things sounded.

Regardless of Roon or MPD, running things exclusively off the BDP-1's power supply is probably the best idea unless the external gear has really good power supply. I say run things off the BDP players.

On the BDP-1, Roon definitely sounds different than MPD (especially with FLAC - I use level 7). It's very hard to miss it. You can pick whichever one you like. Just make sure that it's setup to be a fair comparison. Also, allow enough time to listen to each mode so you can get used to the sound. The novelty aspect can often influence your decision.

(I wonder if the differences are still there on the BDP-3 given that it's a beefier machine?)

:thumb: