# What file format sounds best?

**URL:** <https://community.roonlabs.com/t/what-file-format-sounds-best/224071>\
**Category:** ROCK\
**Created:** [November 26, 2022, 2:59pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071 "2022-11-26T14:59:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glenn\_Young](https://community.roonlabs.com/user_avatar/community.roonlabs.com/glenn_young/32/120654_2.png) [@Glenn\_Young](https://community.roonlabs.com/u/Glenn_Young)\
**Post date:** [November 26, 2022, 2:59pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/1 "2022-11-26T14:59:05Z")

</div>

My library has been ripped over a (long) time. I started in apple formats such as ALAC and AIFF. For awhile, I used MP3 and then FLAC to save disc space. But when storage got so cheap that it no longer mattered, I noticed that when some files were converted to .wav, they sounded better.

On formats that were lossless / red-book standard (44.1 / 16-bit) the wave conversion was straightforward. But now I’m running into some high speed / high-bit FLAC files that I’d also like to convert to wave. What are the limitations of wave format files, and will converters (such as dB Poweramp) automatically downconvert to a usable wave speed?

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 4:12pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/2 "2022-11-26T16:12:38Z")

</div>

There is no universal standard for tagging of WAV files. I don’t know if Roon can read tags in WAVs

FLAC is lossless and after decoding is indistinguishable from WAV. You can convert WAV to FLAC and back to WAV a million times and it is still indistinguishable from the original WAV you started with.

With Roon, the decoding of FLAC files happens on the core. Hence, the minimal computer load by decoding the FLAC has no effect whatsoever on the endpoint over the network.

After decoding on the core, the RAAT protocol sends the resulting PCM data to the streamer. Whether this PCM data came from a WAV file or the same WAV encoded to FLAC is also indistinguishable.

If you previously heard a difference, it had absolutely nothing to do with WAV or FLAC file format as such. However, there is a slight possibility that CPU load of FLAC decoding directly on underpowered endpoints might have an effect on the endpoint’s analog stages, if the endpoint does the decoding by itself. E.g., when getting the FLAC directly from the streaming service; however this is not how Roon works.

---

<div class="post-metadata">

**Author:** ![Marian](https://community.roonlabs.com/letter_avatar/marian/32/5_5575768a8748004e209b776fc1b2916d.png) [@Marian](https://community.roonlabs.com/u/Marian)\
**Post date:** [November 26, 2022, 4:17pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/3 "2022-11-26T16:17:15Z")

</div>

> [@Suedkiez](#):
>
> CPU load of FLAC decoding directly on underpowered endpoints might have an effect on the endpoint’s analog stages

If decoding was underpowered, it would cause dropouts, not “worse” quality.

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 4:19pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/4 "2022-11-26T16:19:07Z")

</div>

> [@Marian](#):
>
> If decoding was underpowered, it would cause dropouts, not “worse” quality.

It would cause dropouts if the digital work did not happen fast enough. If you get (caution, bad word), EMI in the analog stages because the CPU runs full tilt, then you would not get dropouts

---

<div class="post-metadata">

**Author:** ![anon77144803](https://community.roonlabs.com/letter_avatar/anon77144803/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon77144803](https://community.roonlabs.com/u/anon77144803)\
**Post date:** [November 26, 2022, 4:19pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/5 "2022-11-26T16:19:51Z")

</div>

It’s that boogey man of noise that’s banded about in some sectors as the result of the extra cpu cycles required. Most modern devices mind have more than enough to cope.

I just found this article which I found highly amusing .

> **[2016\_07\_05\_\_final\_unabridged\_article\_part\_2\_sound\_quality\_differences\_between\_wav\_and\_flac\_formats.pdf](https://www.hificritic.com/uploads/2/8/8/0/28808909/2016_07_05__final_unabridged_article_part_2_sound_quality_differences_between_wav_and_flac_formats.pdf)**
>
> 5.36 MB

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 4:22pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/6 "2022-11-26T16:22:15Z")

</div>

Yeah right LOL, I read that claim somewhere else as well, black cover art sounds better than white  
🤦‍♂️

---

<div class="post-metadata">

**Author:** ![AndyR](https://community.roonlabs.com/letter_avatar/andyr/32/5_5575768a8748004e209b776fc1b2916d.png) [@AndyR](https://community.roonlabs.com/u/AndyR)\
**Post date:** [November 26, 2022, 4:24pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/7 "2022-11-26T16:24:51Z")

</div>

It’s worth noting that transcoding is never going to restore fidelity that has been lost by compression (for example, transcoding mp3 to wav is just going to give you a lossless copy of the compression artefacts already baked in to the mp3).

There are edge cases where the processing on the endpoint works better with some transmission protocols than others (for example, first generation Naim streamers sounded better when fed wav rather than flac, despite the data being bit-equivalent, because of the additional processing required to unpack flac; the solution was to transcode flac to wav _on the fly_ on the upnp server, rather than convert the files - second generation streamers designed the problem out).

If you do convert the files, you are baking in whatever characteristics are present in the transcoding software. Again, as an example, not all mp3 decoders are the same, later versions often performing better, the way they deal with inter-sample peaks being one issue.

TL;DR…

If you are using Roon, I’d suggest you don’t convert your files, but instead use Roon’s conversion DSP to feed your endpoint with whatever gives the best result - which is likely different depending on endpoint and preference!

Whether you can _actually_ hear these differences is dependent on many different factors - not least whether you expect to be able to… or not… sometimes people can genuinely hear differences, but not necessarily for the reasons they think.

Edit - I type too slowly…

---

<div class="post-metadata">

**Author:** ![Marian](https://community.roonlabs.com/letter_avatar/marian/32/5_5575768a8748004e209b776fc1b2916d.png) [@Marian](https://community.roonlabs.com/u/Marian)\
**Post date:** [November 26, 2022, 4:25pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/8 "2022-11-26T16:25:27Z")

</div>

I measured one of my DACs on a laptop while idle and while in a game and I didn’t see any blip in the THD+N. I don’t believe in EMI influencing the D/A stage of a good DAC in a typical residence.

---

<div class="post-metadata">

**Author:** ![Marian](https://community.roonlabs.com/letter_avatar/marian/32/5_5575768a8748004e209b776fc1b2916d.png) [@Marian](https://community.roonlabs.com/u/Marian)\
**Post date:** [November 26, 2022, 4:28pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/9 "2022-11-26T16:28:12Z")

</div>

Once compressed, there is only one way to decompress, so there should be no difference between decoders.

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 4:29pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/10 "2022-11-26T16:29:52Z")

</div>

I didn’t say that this actually happens. Some people say it makes a difference on certain weak machines that are maxed out by decoding, whether for instance a UPnP server on a NAS transcodes FLAC to WAV or serves the FLAC. This may well be mass psychosis, but I allowed for the slight possibility because I didn’t prove otherwise, and your laptop example isn’t a directly comparable case.

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 4:33pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/11 "2022-11-26T16:33:16Z")

</div>

> [@AndyR](#):
>
> It’s worth noting that transcoding is never going to restore fidelity that has been lost by compression (for example, transcoding mp3 to wav is just going to give you a lossless copy of the compression artefacts already baked in to the mp3).

Obviously, but I thought the topic was about lossless formats and WAV/FLAC/ALAC/AIFF equivalence

---

<div class="post-metadata">

**Author:** ![Marian](https://community.roonlabs.com/letter_avatar/marian/32/5_5575768a8748004e209b776fc1b2916d.png) [@Marian](https://community.roonlabs.com/u/Marian)\
**Post date:** [November 26, 2022, 4:35pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/12 "2022-11-26T16:35:23Z")

</div>

Without going down this rathole, I think we can agree that Roon does all the decoding on the core, so it shouldn’t matter whether you’re playing a compressed file or a file that was decompressed beforehand. The OP is not going to see any benefit whatsoever.

---

<div class="post-metadata">

**Author:** ![AndyR](https://community.roonlabs.com/letter_avatar/andyr/32/5_5575768a8748004e209b776fc1b2916d.png) [@AndyR](https://community.roonlabs.com/u/AndyR)\
**Post date:** [November 26, 2022, 4:35pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/13 "2022-11-26T16:35:46Z")

</div>

Not as obvious as you might hope - and I did start typing this before your post - but not fast enough!

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 4:36pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/14 "2022-11-26T16:36:31Z")

</div>

> [@Marian](#):
>
> Without going down this rathole, I think we can agree that Roon does all the decoding on the core, so it shouldn’t matter whether you’re playing a compressed file or a file that was decompressed beforehand. The OP is not going to see any benefit whatsoever.

Absolutely 🙂

---

<div class="post-metadata">

**Author:** ![AndyR](https://community.roonlabs.com/letter_avatar/andyr/32/5_5575768a8748004e209b776fc1b2916d.png) [@AndyR](https://community.roonlabs.com/u/AndyR)\
**Post date:** [November 26, 2022, 4:38pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/15 "2022-11-26T16:38:15Z")

</div>

> [@Marian](#):
>
> Once compressed, there is only one way to decompress, so there should be no difference between decoders.

Um. I don’t think so, but happy to be proven wrong. Can you link a reference?

---

<div class="post-metadata">

**Author:** ![Marian](https://community.roonlabs.com/letter_avatar/marian/32/5_5575768a8748004e209b776fc1b2916d.png) [@Marian](https://community.roonlabs.com/u/Marian)\
**Post date:** [November 26, 2022, 4:44pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/16 "2022-11-26T16:44:24Z")

</div>

I don’t think you need a reference. Use two different pieces of software to decode any mp3 to WAV and compare the bits.

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 4:46pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/17 "2022-11-26T16:46:54Z")

</div>

> [@AndyR](#):
>
> Um. I don’t think so, but happy to be proven wrong. Can you link a reference?

The psychoacoustic models are in the mp3 _en_coder and encoders most definitely can have an effect on SQ. However regarding _de_coders, [Wikipedia](https://en.wikipedia.org/wiki/MP3#Encoding_and_decoding):

> Decoding, on the other hand, is carefully defined in the standard. Most [decoders](https://en.wikipedia.org/wiki/Codec) are “[bitstream](https://en.wikipedia.org/wiki/Elementary_stream) compliant”, which means that the decompressed output that they produce from a given MP3 file will be the same, within a specified degree of [rounding](https://en.wikipedia.org/wiki/Rounding) tolerance, as the output specified mathematically in the ISO/IEC high standard document (ISO/IEC 11172-3). Therefore, comparison of decoders is usually based on how computationally efficient they are (i.e., how much [memory](https://en.wikipedia.org/wiki/Computer_memory) or [CPU](https://en.wikipedia.org/wiki/CPU) time they use in the decoding process). Over time this concern has become less of an issue as [CPU clock rates](https://en.wikipedia.org/wiki/Clock_rate) transitioned from MHz to GHz.

> [@Marian](#):
>
> I don’t think you need a reference. Use two different pieces of software to decode any mp3 to WAV and compare the bits.

Exactly in principle, but even if there are differences due to the tolerance the SQ effect would be negligible (though a simple checksum comparison would show different files). In this case, loading both resulting WAV files into something like Audacity and subtracting one from the other would show minimal difference

(To avoid confusion, this only applies to lossy formats. There would be absolutely no difference between an original WAV and the resulting file from the same WAV to FLAC to WAV conversion)

---

<div class="post-metadata">

**Author:** ![Glenn\_Young](https://community.roonlabs.com/user_avatar/community.roonlabs.com/glenn_young/32/120654_2.png) [@Glenn\_Young](https://community.roonlabs.com/u/Glenn_Young)\
**Post date:** [November 26, 2022, 4:52pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/18 "2022-11-26T16:52:30Z")

</div>

Thanks, folks - I **DO** realize that if I start with a lossy file, I can’t recreate quality that has already been discarded. I also realize that Roon converts formats on the fly at the main program so that endpoints don’t have to.

But I’m wondering if actually the Roon core may be more heavily loaded than might be suspected. For simple playback, and even when doing format conversion, I’d think that the Roon core (pretty much regardless of platform) would have clock cycles to burn. HOWEVER - If one is using the DSP features of Roon (that _also_ have to be applied “on the fly” during playback), those spare processor cycles don’t evaporate like water on a hot plate.

With some speakers that I’ve used before in my room, I’ll have as many as four or five DSP filters working simultaneously. Each will have a different center frequency, a different Q, and different amounts of gain or cut. With the DSP calling for this much processor power, I’ve got to wonder if asking the core to ALSO do file-type conversion isn’t just taxing the system a bit much?

Not having any test equipment, this isn’t something I could actually measure. My ears have told me, though, that sticking to simple wav format usually produces the cleanest sound. To date, I’ve noticed nothing but positive effects from the application of DSP, but I don’t think I’ve actually tried DSP plus simultaneous format conversion.

My previous DSP experiments were with an older Mac mini. With my current i7 NUC, I’m thinking that I probably have a more generous headroom in terms of processor cycles to spare?

---

<div class="post-metadata">

**Author:** ![Suedkiez](https://community.roonlabs.com/user_avatar/community.roonlabs.com/suedkiez/32/107321_2.png) [@Suedkiez](https://community.roonlabs.com/u/Suedkiez)\
**Post date:** [November 26, 2022, 5:00pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/19 "2022-11-26T17:00:38Z")

</div>

> [@Glenn\_Young](#):
>
> But I’m wondering if actually the Roon core may be more heavily loaded than might be suspected.

No it wouldn’t. On my laptop, similar to a regular NUC CPU (8th Gen i7), decoding a 35 MB flac file with a 5 minute song takes 0.5 seconds. This is using the _time_ command to time the decoding of a flac file. The result of _time_ is at the end. The _real_ value is the summary of elapsed time by _user_ and _system_ operations.

```auto
time flac --decode "d1t01 - 2raumwohnung - in wirklich - da sind wir.flac"

flac 1.3.4
Copyright (C) 2000-2009 Josh Coalson, 2011-2016 Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type 'flac' for details.

d1t01 - 2raumwohnung - in wirklich - da sind wir.flac: done         

real	0m0,532s
user	0m0,427s
sys	0m0,095s

```

If you are using DSP to change the sound, the DSP itself surely has orders of magnitude more effect than any CPU load side effects would ever have. (And with Roon, such a side effect would be zero because the decoding and DSP happens on the core and is 100% isolated from the endpoint, at least when using RAAT)

---

<div class="post-metadata">

**Author:** ![Marian](https://community.roonlabs.com/letter_avatar/marian/32/5_5575768a8748004e209b776fc1b2916d.png) [@Marian](https://community.roonlabs.com/u/Marian)\
**Post date:** [November 26, 2022, 5:01pm UTC](https://community.roonlabs.com/t/what-file-format-sounds-best/224071/20 "2022-11-26T17:01:43Z")

</div>

> [@Glenn\_Young](#):
>
> HOWEVER - If one is using the DSP features of Roon (that _also_ have to be applied “on the fly” during playback), those spare processor cycles don’t evaporate like water on a hot plate.

DSP uses a lot more CPU than decoding, so it’s very unlikely it will push it over the edge. You can of course apply your DSP and then look at the performance factor during playback.

> [@Glenn\_Young](#):
>
> My ears have told me, though, that sticking to simple wav format usually produces the cleanest sound.

It looks like you’ve made up your mind already.

[Next page](https://community.roonlabs.com/t/what-file-format-sounds-best/224071.md?page=2)
