Jump to content
IGNORED

A novel way to massively improve the SQ of computer audio streaming


Message added by The Computer Audiophile

Important and useful information about this thread

Posting guidelines

History and index of useful posts

Most important: please realize this thread is about bleeding edge experimentation and discovery. No one has The Answer™. If you are not into tweaking, just know that you can have a musically satisfying system without doing any of the nutty things we do here.

Recommended Posts

Has it been established through listening tests how important the temperature stability of a clock is?

Some will argue high temperature stability isnt important at all for audio, 50ppm being the ''redbook standard''.

The highend clocks I seen were all OCXOs, but with insanely low jitter anyway.

 

The best affordable choice for low jitter clocks are some of the Crystek line, but there some similarly affordable TCXOs with much higher temperature stability and worse, but still good, jitter.

Link to comment
1 hour ago, Dev said:

I am using NUC i7DNHE in a Akasa Plato xd case and I am hearing squeaking noise as if its running a fan inside if I put my ears close to case. This may sound a bit weird since there isn't any moving parts when I remove the fan to install it inside the fanless case. My other NUC CJY is dead silent like it should be. Does anybody has any experience like this ?

In a no moving parts pc a mobo whine near the cpu can be the result of antagonism between power settings in bios and the o/s respectively. I have changed mobos thinking them faulty or nffp before discovering this. Hope you have less trouble.

Link to comment
7 hours ago, Iving said:

In a no moving parts pc a mobo whine near the cpu can be the result of antagonism between power settings in bios and the o/s respectively. I have changed mobos thinking them faulty or nffp before discovering this. Hope you have less trouble.

 

When I first started building fanless audio PCs I had one that had an audible physical whine. Those boards have inductors which I always suspected as being the culprit by physical vibration/oscillation. I was able to fix it buy replacing the DC-ATX converter. Oddly the most noise came when I had a monitor hooked up to them and was using a mouse to work in the OS. Perhaps this caused more current to pass through them. The NUC does not have the same separate ATX converter but it probably has inductors on the board.

 

What particular power settings did you find as the culprit and were you able to successfully eliminate the noise by making adjustments?


"Don't Believe Everything You Think"

System

Link to comment
24 minutes ago, mourip said:

 

When I first started building fanless audio PCs I had one that had an audible physical whine. Those boards have inductors which I always suspected as being the culprit by physical vibration/oscillation. I was able to fix it buy replacing the DC-ATX converter. Oddly the most noise came when I had a monitor hooked up to them and was using a mouse to work in the OS. Perhaps this caused more current to pass through them. The NUC does not have the same separate ATX converter but it probably has inductors on the board.

 

What particular power settings did you find as the culprit and were you able to successfully eliminate the noise by making adjustments?

Any "High" (or equiv. bespoke) Power Settings in Windows (CP/Power/Adv/Proc. Pwr. Management/Min proc. state) keep Min CPU state at 100%. If you have any kind of SpeedStep (Asus) or Power management Settings (e.g. C States etc) ON in BIOS they try to alter CPU state to <100%. The royal battle that ensues (coils working harder) is audible and fantastically annoying on an audiophile PC otherwise silent. I guess yes coils working harder/vibrating. Some folks say you can fix them with glue. But that of course would be hiding >1 problem for us. (I imagine NUC benefit is mainly small mobo limiting electronic turbulence btw.) Turning all Power settings in BIOS OFF is the solution for me. I imagine for someone else it could involve making sure Windows settings will be friendly with regulating CPU in BIOS i.e. vice versa to what I do. (But as I have said before in this thread I think low Power in the PC is a false religion and SQ is best when the CPU isn't throttled either way.)

 

My prev. post didn't assume Windows as you can see. If BIOS "struggles" against AL in parallel way - same point.

Link to comment
13 hours ago, Dev said:

I am using NUC i7DNHE in a Akasa Plato xd case and I am hearing squeaking noise as if its running a fan inside if I put my ears close to case. This may sound a bit weird since there isn't any moving parts when I remove the fan to install it inside the fanless case. My other NUC CJY is dead silent like it should be. Does anybody has any experience like this ?

 

I have narrowed down the issue with the Optane memory. Once Linux loads and starts accessing them, the squeaking noise starts. I tried playing with the power settings in the Bios but no luck. Not sure if its a board issue or something with the memory.

 

Can someone with Optane installed on i7 NUC confirm or deny if they hear any noise please ?

Link to comment
29 minutes ago, Dev said:

 

I have narrowed down the issue with the Optane memory. Once Linux loads and starts accessing them, the squeaking noise starts. I tried playing with the power settings in the Bios but no luck. Not sure if its a board issue or something with the memory.

 

Can someone with Optane installed on i7 NUC confirm or deny if they hear any noise please ?

 

If it’s not a property of this type of memory modules (I can’t test since I have no Optane memory) the cause could also be the lack of sufficient power (causing a voltage drop under load). Does this also happen with the standard NUC power supply?

Link to comment
1 minute ago, Dutch said:

 

If it’s not a property of this type of memory modules the cause could also be the lack of sufficient power. Does this also happen with the standard NUC power supply?

 

Good point. It may not be the memory module itself since they are solid state devices but could be the electronics around it. Its powered by JS2 which I believe is more than sufficient. I haven't tried the NUC smps but will shortly. I have also ordered another one from Amazon to compare.

Link to comment
15 minutes ago, Dev said:

 

Good point. It may not be the memory module itself since they are solid state devices but could be the electronics around it. Its powered by JS2 which I believe is more than sufficient. I haven't tried the NUC smps but will shortly. I have also ordered another one from Amazon to compare.

 

The JS2 should indeed more than powerful enough but indeed you could check anyway with the default PSU. I do know the thing called ‘coil whine’ if that’s what you hear (my music server (non-NUC) has it too though at a very low SPL) and mourip probably also referred to it. It could be hard to fix but if you Google the term you could perhaps find some strategies on how to deal with it.

Link to comment
Just now, austinpop said:

 

Interestingly, I observe no glitches with my SL settings with LMS - only with Roon. 

 

But do experiment... you may find even better SQ with different parameters.

Agree I have no glitches whatsoever 

Link to comment

Hi Rajiv

 

I am playing with the SL buffer settings but what I am finding so far is the opposite of you found. The smaller the buffer the more spacious the sound. I tried so far 3GB, 2GB, 1GB, 500MB and 100MB for both input and output settings. I left the ALSA buffer constant at 50MB. This is with LMS running with Win10 on my server and SL is running with Euphony on  the end point. I will be validating over the coming days.

Link to comment
29 minutes ago, austinpop said:

 

Interestingly, I observe no glitches with my SL settings with LMS - only with Roon. 

 

But do experiment... you may find even better SQ with different parameters.

LMS has a configuration page set up in a matrix. One one side is locally supported formats and on the other there are possible formats supported by the various endpoint. This was done because the various SqueezeBox device supported different decoding and different sample/bit rates. The Roon guys bought all the SqueezeBox devices so they could know what is best to send to each. SqueezeLite is not a SqueezeBox device so it needs to send a generic stream. Anyway, my point is that a LSM stream might be every different than a Roon stream based on the rules in the configuration matrix. Using SqueezeLite with Roon is really a loop hole more than feature. 

 

I generally don't get support issues with the default settings in SqueezeLite which are nothing close to your settings. Real time Kernels are also notorious at causing dropouts and add to that your proposed settings and I'm not surprised you are getting drop outs. To me drop outs = bad sound quality. 

Link to comment

I remember when I was doing my SL experiments, I inexplicably was hearing differences between LMS and Roon as a server, but only for certain tracks.  I tracked it down to some transcoding that was happening (hidden in the LMS configuration matrix).  Once I turned off transcoding, order returned to the universe.

 

To echo the experience of others, I don't have any skipping with LMS and SqueezeLite, only Roon Core.  Alas Rajiv, my experience on how low I can take buffers very closely mimics yours: Lots of sensitivity to input buffers and ALSA buffers, but less so to output buffer.

 

As an aside, I'm currently running Roon Bridge on my NUC endpoint, but feeding it with two ISO Regen's in series (LPS 1.2 powering both).  That has hugely narrowed the SQ gap between Roon Bridge and SL with large buffers for me (almost equivalent).  Lots more experimentation to do, including rerunning a lot of my previous listening tests to see what may have changed as the rest of my chain has evolved, but an interesting hint (for me) of what may be going on with large buffers in SL.

ATT Fiber -> EdgeRouter X SFP -> Taiko Audio Extreme -> Vinnie Rossi L2i-SE w/ Level 2 DAC -> Voxativ 9.87 speakers w/ 4D drivers

Link to comment
3 minutes ago, ray-dude said:

I remember when I was doing my SL experiments, I inexplicably was hearing differences between LMS and Roon as a server, but only for certain tracks.  I tracked it down to some transcoding that was happening (hidden in the LMS configuration matrix).  Once I turned off transcoding, order returned to the universe.

What exactly did you do to turn off transcoding?

Link to comment
7 minutes ago, vortecjr said:

What exactly did you do to turn off transcoding?

 

It was on the screen that had the different file types, with the transcoding target to different file types.  I had to go through one by one to make sure my main audio formats (flac, mp4, wav, dsf, etc) were getting passed through as native files.  

 

If helpful, I can fire up LMS and look for the specific admin screen (let me know).  Alas, I didn't find a switch to make a global change

 

ATT Fiber -> EdgeRouter X SFP -> Taiko Audio Extreme -> Vinnie Rossi L2i-SE w/ Level 2 DAC -> Voxativ 9.87 speakers w/ 4D drivers

Link to comment
4 hours ago, austinpop said:

Now the next step is to understand at what values the SL glitches set in. That is going to take me some time to get to, so I am crowd sourcing it here!

 

Our goal is to find a set of values for (IB, OB, AB) that sounds better than default, but still functions flawlessly. Go forth and listen!

So my first test will be to compare Roon Bridge to SL with your buffer size set.  (Euphony OS).  I have 32GB of RAM on my NUC.  Do you think there is a specific direction that warrants research.  My DAC is only PCM so (YggY). Is this of any help to you?

Link to comment
20 minutes ago, ray-dude said:

 

It was on the screen that had the different file types, with the transcoding target to different file types.  I had to go through one by one to make sure my main audio formats (flac, mp4, wav, dsf, etc) were getting passed through as native files.  

 

If helpful, I can fire up LMS and look for the specific admin screen (let me know).  Alas, I didn't find a switch to make a global change

 

I think it would be helpful to others here. 

Link to comment
11 minutes ago, bobfa said:

So my first test will be to compare Roon Bridge to SL with your buffer size set.  (Euphony OS).  I have 32GB of RAM on my NUC.  Do you think there is a specific direction that warrants research.  My DAC is only PCM so (YggY). Is this of any help to you?

 

Good questions. Let's start with the defaults. I did some poking around. Going by this file:  https://github.com/ralph-irving/squeezelite/blob/master/squeezelite.h

  • #define STREAMBUF_SIZE (2 * 1024 * 1024)
  • #define OUTPUTBUF_SIZE (44100 * 8 * 10)
  • #define ALSA_BUFFER_TIME  40
  • #define ALSA_PERIOD_COUNT 4

This suggests the defaults are:

  • IB (inputstream buffer) is 2MB
  • OB (output buffer) is ~3MB
  • -a 40:4::

Note that the first value in the -a option has a change in units at 500. For 0-499 it has units of ms, and 500 or greater, it's in bytes.

 

So back to your question, Bob. We know that the high settings sound great, but are glitchy:

  • input buffer IB = 2GB
  • output buffer OB = 2GB
  • ALSA buffer AB = 50MB

We know the defaults have lower SQ but no glitches:

  • input buffer IB = 2MB
  • output buffer OB = ~3MB
  • ALSA buffer AB = 40ms

So the search space for best SQ while avoiding glitches lies between these values.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...