Are bit perfect players really bit perfect?
#1
Snakeoil provides multiple software players. They are all supposedly bit perfect, so why did I bother bundling so many of them? After all, do all bit perfect players sound different?

Obviously not to me, hence the reason Snakeoil has several. And this may be the reason why: Q&A with John Swenson. Part 3: How bit-perfect software can affect sound (Courtesy audiostream).

Wish I found this article a long time ago, as the article mirrors some of my personal observations. e.g.

Quote:Packet jitter is most frequently caused by software. In many systems the time at which each packet is scheduled for transmission is computed in software. If that software is late in doing its job, the packet timing will change. This software that does the packet scheduling is almost always interrupt driven. The exact time this interrupt routine is called can be affected by other software on the computer, in particular process and thread priorities. The kernel scheduling protocol also has a significant affect.
Is the reason why I decided to use a RT kernel.

And I learnt something new - cache misses:
Quote:Special instructions that do a lot with just one instruction can also significantly decrease cache misses. But not all processors support all the different types of these instructions, so few programs really make use of these.
...
One interesting aspect of this is compiler optimizations can significantly increase the cache misses.
So the trick is to enable all features of the CPU (e.g. SSE3, and so on), but without compiler optimisations (-O2). The first part is really hard to do since I am not the author of any of the software players, but at least I can manage with the second. I'd see if I can incorprate this into the next release of Snakeoil.
Snakeoil Operating System - Music, your way!
Reply



Bookmarks



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
My Snakeoil-powered system
Last Post: agent_kith
Yesterday 08:18 PM
» Replies: 6
» Views: 502
Snakeoil 1.4 and Squeezelite R2 - not re...
Last Post: petemac110
Yesterday 07:47 PM
» Replies: 4
» Views: 27
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 231
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 533
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 619
Snakeoil 1.4.0 (High End)
Last Post: hkphantomgtr
11-Feb-2025 09:07 AM
» Replies: 60
» Views: 3798
fw: a letter to request Album Player(gen...
Last Post: clark8888
08-Feb-2025 03:44 PM
» Replies: 3
» Views: 528
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
06-Feb-2025 08:46 AM
» Replies: 13
» Views: 676
Using Ubuntu low latency & real time ker...
Last Post: agent_kith
05-Feb-2025 02:19 PM
» Replies: 9
» Views: 361
Music Players missing
Last Post: justme
31-Jan-2025 01:07 PM
» Replies: 2
» Views: 107

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.