XXHighEnd - The Ultra HighEnd Audio Player
April 19, 2024, 04:53:13 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: August 6, 2017 : Phasure Webshop open ! Go to the Shop
Search current board structure only !!  
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: delay before playback starts - WAV vs FLAC  (Read 6011 times)
0 Members and 1 Guest are viewing this topic.
jhmvl
Audio Loudspeaker
*
Offline Offline

Posts: 60


View Profile
« on: August 11, 2015, 07:03:58 pm »

Ok, so I bought the xxHE PC from Peter and I have to say that it is a vast improvement.

I am left with one smaller issue though and that is the following: some songs still take a longer time (up to 10 seconds) to start playback. My collection of music is split in wav files that are all (no exceptions) 44.1kHz files ripped from the cd's I have. These files contain no tags. The other part of the collection consists of FLAC files that are all highres, i.e. 44.1 kHz and up and 24bit. These files do (still) contain tags.

The longer time to playback never occurs in the wav files. These start playback almost instantaneously. The longer start time is usually with the flac's, where bigger flacs take longer it seems.

Is this behaviour that others see or have encountered as well? If so, what could you do (if anything) to reduce the start time? Could the longer start time have to do with the fact that the flacs still contain tags?

Look forward to hearing about this.

Hans
Logged
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16837



View Profile Email
« Reply #1 on: August 12, 2015, 10:29:57 am »

Hi Hans,

I'm inclined to think that you have a small apples and oranges problem. yes

First off, I feel that you compare this in Attended Mode (user interface stays). But, not 100% sure. Anyway, when apples and oranges are left out of the equation and Unattended (interface disappears) is in order, a WAV album may start in 6-8 seconds and a FLAC in 2 or so.
How ?
Because the FLAC conversion is performed in parallel for each track (for 12 tracks at the time for your 12 core PC), while WAV "copying" happens per track subsequently.
This latter is the case when any "copying" as such is implied, which may not be your case (with your settings).

Already confused ?

Not necessary - and not even necessary to really understand. The point is : you compare en e.g. 50MB of WAV track with a 30MB of FLAC which needs to expand to 150-300MB. Look :

Your FLAC is say 30MB.
Uncompressed this would be 50MB again *if* it would be 16/44.1 like your WAV. But it isn't 16/44.1, and thus is the 30MB already wrong (it is larger). But never mind, because the math goes like this :
50MB for 16/44.1
This is 100MB for 16/88.2
This is 150MB for 24/88.2
which is 300MB for 24/176.4.

This 150 or 300MB needs to be "written". So apart from the time it takes to do the processing (of uncompressing) it is a sheer 150 or 300MB which needs to be written to disk (the FLAC becomes a WAV).
And your WAV ? 50MB to write only, *if* at all, depending on your settings. So maybe no need to write (= copy) anything (which would be the default for settings).

Summarized :
Your FLAC files are Hires while your WAV's are not.
(this one liner could have been the short answer)

In addition (but already implied) :
If you'd use the on-board RAMDisk and set the Playback Drive to B:\, all will be copied to B: (which would be the RAMDisk) before playback commences. Also WAV. And I assume the "normal" Unattended Playback.
If the FLAC now is 16/44.1, you will see that this copying of all the tracks of a FLAC album takes as long as its longest track (so say 2 seconds) while the copying of the WAV album takes the required time per track subsequently (think 10x 1 second for your comfort).

And so ...
So it is all the other way around as your thought / seem to notice. swoon

Peter

Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
jhmvl
Audio Loudspeaker
*
Offline Offline

Posts: 60


View Profile
« Reply #2 on: August 12, 2015, 09:40:55 pm »

Hi Peter,

Thanks for the answer. I think I understand how it works now. Consequence of what you are saying is that it is better to keep your files in flac because of the parallel processing that you do not get with wav's (assuming unattended playback). Correct?

Second, I think my observation on flac vs wav is correct but would be due to the fact that the wav files I referred to are on average around 30-60MB but the flac files I was referring to are between 150 and 300MB so they would become really big once transformed and uncompressed explaining the time consumption (ie apples and oranges indeed).

Regards

Hans
Logged
PeterSt
Administrator
High Grade Audiophile
*****
Offline Offline

Posts: 16837



View Profile Email
« Reply #3 on: August 13, 2015, 08:26:56 am »

Hey Hans,

Whether FLAC is faster than WAV net, depends. Best is to simply say Yes.

But I have some HDD's which are so super fast that WAV can win it after all. Notice that now I am talking about READING. Think like reading a complete album within 2 seconds or so.
Sadly I don't even know why these HDD's are so fast. But I think it is the new low level (WD) formatting. Something with 4K blocks or whatever (for the 2TB+ HDDs) ...

In the end I really don't care. I have WAV and leave it like that and I also have FLAC and leave that be as well.

Quote
but the flac files I was referring to are between 150 and 300MB

I know. This is where I said that my math would be correct anyway. So I first normalized the numbers to 16/44.1.
In the end, if your FLAC is 300MB, that will turn out to be 700MB or so in WAV. Of course it also depends on the length (running time) of the track.
Anyway, you got the idea already ...

Regards,
Peter

Logged

For the Stealth III LPS PC :
W10-14393.0 - July 17, 2021 (2.11)
XXHighEnd Mach III Stealth LPS PC -> Xeon Scalable 14/28 core with Hyperthreading On (set to 14/28 cores in BIOS and set to 10/20 cores via Boot Menu) @~660MHz, 48GB, Windows 10 Pro 64 bit build 14393.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/0/0/*1*/ Q1Factor = *4* / Dev.Buffer = 4096 / ClockRes = *10ms* / Memory = Straight Contiguous / Include Garbage Collect / SFS = *10.13*  (max 10.13) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / Stop Desktop, Remaining, WASAPI and W10 services / Use Remote Desktop / Keep LAN - Not Persist / WallPaper On / OSD Off (!) / Running Time Off / Minimize OS / XTweaks : Balanced Load = *62* / Nervous Rate = *1* / Cool when Idle = n.a / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = Optimal / Time Stability = Stable / Custom Filtering *Low* (16x) / Always Clear Proxy before Playback = On -> USB3 from MoBo -> Lush^3
A: W-Y-R-G, B: *W-G* USB 1m00 -> Phisolator 24/768 Phasure NOS1a/G3 75B (BNC Out) async USB DAC, Driver v1.0.4b (16ms) -> B'ASS Current Amplifier -> Blaxius*^2.5* A:B-G, B:B-G Interlink -> Orelo MKII Active Open Baffle Horn Speakers. ET^2 Ethernet from Mach III to Music Server PC (RDC Control).
Removed Switching Supplies from everywhere (also from the PC).

For a general PC :
W10-10586.0 - May 2016 (2.05+)
*XXHighEnd PC -> I7 3930k with Hyperthreading On (12 cores)* @~500MHz, 16GB, Windows 10 Pro 64 bit build 10586.0 from RAM, music on LAN / Engine#4 Adaptive Mode / Q1/-/3/4/5 = 14/-/1/1/1 / Q1Factor = 1 / Dev.Buffer = 4096 / ClockRes = 1ms / Memory = Straight Contiguous / Include Garbage Collect / SFS = 0.10  (max 60) / not Invert / Phase Alignment Off / Playerprio = Low / ThreadPrio = Realtime / Scheme = Core 3-5 / Not Switch Processors during Playback = Off/ Playback Drive none (see OS from RAM) / UnAttended (Just Start) / Always Copy to XX Drive (see OS from RAM) / All Services Off / Keep LAN - Not Persist / WallPaper On / OSD On / Running Time Off / Minimize OS / XTweaks : Balanced Load = *43* / Nervous Rate = 1 / Cool when Idle = 1 / Provide Stable Power = 1 / Utilize Cores always = 1 / Time Performance Index = *Optimal* / Time Stability = *Stable* / Custom Filter *Low* 705600 / -> USB3 *from MoBo* -> Clairixa USB 15cm -> Intona Isolator -> Clairixa USB 1m80 -> 24/768 Phasure NOS1a 75B (BNC Out) async USB DAC, Driver v1.0.4b (4ms) -> Blaxius BNC interlink *-> B'ASS Current Amplifier /w Level4 -> Blaxius Interlink* -> Orelo MKII Active Open Baffle Horn Speakers.
Removed Switching Supplies from everywhere.

Global Moderator
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.2 seconds with 19 queries.