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
SOXR resampler and DSD
Last Post: agent_kith
Today 01:10 PM
» Replies: 3
» Views: 40
A ripping project ideae/help
Last Post: agent_kith
Today 01:09 PM
» Replies: 7
» Views: 78
Glibc 2.36 missing
Last Post: jetski
04-Mar-2025 03:23 AM
» Replies: 5
» Views: 119
Snakeoil 1.4.0 (High End)
Last Post: knottydreadbr
03-Mar-2025 11:42 PM
» Replies: 63
» Views: 4610
Using Ubuntu low latency & real time ker...
Last Post: hkphantomgtr
26-Feb-2025 12:13 AM
» Replies: 12
» Views: 572
My Snakeoil-powered system
Last Post: petemac110
24-Feb-2025 04:30 AM
» Replies: 7
» Views: 589
Snakeoil 1.4 and Squeezelite R2 - not re...
Last Post: petemac110
23-Feb-2025 07:47 PM
» Replies: 4
» Views: 127
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 318
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 634
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 733

[-]
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.