INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Converting FLAC to WAV on the fly  (Read 6230 times)

Valvefan

  • Recent member
  • *
  • Posts: 18
Converting FLAC to WAV on the fly
« on: May 06, 2013, 09:24:43 pm »

All of my files are FLAC.  Can MC17 or MC18 convert FLAC to WAV on the fly while playing music?

I dont want to convert 12 000 FLAC files to WAV.

Thanks   ?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42007
  • Shoes gone again!
Re: Converting FLAC to WAV on the fly
« Reply #1 on: May 06, 2013, 09:40:38 pm »

Yes.  Effectively all files are converted to WAV (which is just another word for PCM) automatically as you play.
Logged
Matt Ashland, JRiver Media Center

Valvefan

  • Recent member
  • *
  • Posts: 18
Re: Converting FLAC to WAV on the fly
« Reply #2 on: May 06, 2013, 11:13:13 pm »

I have  been reading in audio magazines (TAS and Stereophile) that wav files sound better than flac files.  I don't hear a difference in my system.  Is my DAC getting the same input from my flac files as it would get if I used wav files?
Logged

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Converting FLAC to WAV on the fly
« Reply #3 on: May 07, 2013, 12:52:20 am »

It's another (touchy) topic entirely why FLAC and WAV can sound different (like why cd transports, USB cables, firewire vs USB sending same data can sound different). If YOU personally don't hear a difference, save the HDD space and stick with FLAC. Rest assured, it is the same 1s and 0s getting to your DAC.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Converting FLAC to WAV on the fly
« Reply #4 on: May 07, 2013, 03:50:32 am »

Sometime ago there was an article in TAS about computer audio.
One of the things they did was converting WAV1 > FLAC > WAV2
WAV2 sounded inferior to WAV1. Conclusion: FLAC ruins sound quality permanently.
Of course, this was done by listening only. They didn’t even bother (or are to incompetent) to do a bitwise comparison between WAV1 and WAV2.
IMHO if a magazine publish this type of crap, it is a totally unreliable source.

A sighted listening test is a pretty unreliable method, one in general hears all his own biases.
You can also measure. Some interesting experiments by Mitchco
http://www.computeraudiophile.com/blogs/mitchco/flac-vs-wav-vs-mp3-vs-m4a-experiment-94/
http://www.computeraudiophile.com/blogs/mitchco/flac-vs-wav-part-2-final-results-155/
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71539
  • Where did I put my teeth?
Re: Converting FLAC to WAV on the fly
« Reply #5 on: May 07, 2013, 06:58:44 am »

I have  been reading in audio magazines (TAS and Stereophile) that wav files sound better than flac files.  I don't hear a difference in my system.  Is my DAC getting the same input from my flac files as it would get if I used wav files?
Yes.
Logged

faster

  • Junior Woodchuck
  • **
  • Posts: 54
Re: Converting FLAC to WAV on the fly
« Reply #6 on: May 07, 2013, 02:22:32 pm »

Hi Mat,

Yes.  Effectively all files are converted to WAV (which is just another word for PCM) automatically as you play.

does MC converts the whole song before start playback?

regards Erwin
Logged

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Converting FLAC to WAV on the fly
« Reply #7 on: May 07, 2013, 02:28:00 pm »

Only if you tell it to do so
Tools > Options > Audio > Play files from memory
Logged

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Converting FLAC to WAV on the fly
« Reply #8 on: May 08, 2013, 01:16:28 am »

Only if you tell it to do so
Tools > Options > Audio > Play files from memory

That's not true. This option sends the file (e.g. FLAC) as is to memory first, and decompresses on the fly while playing.
I did request a decompress to memory before playback awhile back, but very unlikely this will happen.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Converting FLAC to WAV on the fly
« Reply #9 on: May 08, 2013, 01:26:18 am »

You’re right, it is not true memory playback
Logged

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Converting FLAC to WAV on the fly
« Reply #10 on: May 08, 2013, 12:31:38 pm »

blaine wrote: " I did request a decompress to memory before playback awhile back, but very unlikely this will happen. "

Whatever is the actual truth, such a feature might increase sales a little...

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Converting FLAC to WAV on the fly
« Reply #11 on: May 08, 2013, 01:04:49 pm »

I'm sure the developers know better than I do, but from what I have observed, it seems to store the file in memory, and decode to a buffer of about 40MB.
25MB FLAC file - memory increases by roughly 25+40MB. 800MB DSD file - memory increases by approximately 840MB.

With gapless playback, about 10s before the track changes, the currently playing file is cleared out of memory, and the next one is loaded in. (this is probably why memory playback doesn't work nicely over some networks)
I'm guessing that if you're not using gapless playback, and were using a 16s crossfade (the maximum if I recall correctly) it would happen a bit sooner.


I don't really see the benefit of decompressing the entire track into memory though.
Unless you have something like 64GB of memory so that your entire playlist fits in RAM, it will always have to be decoding something during playback anyway.

And I don't believe that realtime decoding has any impact on the sound unless your CPU is not powerful enough to actually decode the track - and most audio decoding is trivial for modern CPUs.
I get the impression that's the same opinion the developers have.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42007
  • Shoes gone again!
Re: Converting FLAC to WAV on the fly
« Reply #12 on: May 08, 2013, 01:25:38 pm »

6233638 had a nice post.  The links above to the articles by Mitcho are also worth reading.

Decoding an APE High file (which generally uses stronger compression than FLAC) uses roughly 0.2% of the CPU on my computer here.  This is insignificant, and has no bearing on sound quality.

However, you can always use WAV if you disagree.  Media Center works great with WAV, including tagging.

I'm going to close this topic now.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up