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
Normal/Inverted Phase Playback
Last Post: hkphantomgtr
Yesterday 05:05 PM
» Replies: 8
» Views: 3577
Snakeoil 1.4.3 (High End U3)
Last Post: Snoopy8
23-Apr-2025 04:13 PM
» Replies: 31
» Views: 1230
Work In Progress: 1.4.4
Last Post: agent_kith
23-Apr-2025 11:35 AM
» Replies: 13
» Views: 268
Wiki update - need your help!
Last Post: Snoopy8
22-Apr-2025 02:23 PM
» Replies: 7
» Views: 178
No audio devices on RPi5 with latests bu...
Last Post: miksi
21-Apr-2025 12:52 AM
» Replies: 16
» Views: 439
new install issues
Last Post: Snoopy8
19-Apr-2025 01:08 PM
» Replies: 7
» Views: 189
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 266
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 112
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 76
SQ difference - Raspberry Pi vs x86_64?
Last Post: agent_kith
09-Apr-2025 03:41 PM
» Replies: 15
» Views: 1081

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