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
Isolate CPUs from IRQ and SMP
Last Post: Snoopy8
Today 10:05 AM
» Replies: 0
» Views: 8
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
Today 09:10 AM
» Replies: 51
» Views: 1880
Work In Progress: 1.4.4
Last Post: claybomb
Today 03:26 AM
» Replies: 18
» Views: 503
[split] Possible To Load Snakeoil OS in ...
Last Post: agent_kith
01-May-2025 01:02 PM
» Replies: 5
» Views: 80
Add UPNP/DLNA functionality
Last Post: Snoopy8
30-Apr-2025 05:01 PM
» Replies: 7
» Views: 163
How to delete MPD music file database in...
Last Post: hkphantomgtr
29-Apr-2025 02:46 PM
» Replies: 4
» Views: 79
Normal/Inverted Phase Playback
Last Post: agent_kith
28-Apr-2025 11:36 AM
» Replies: 13
» Views: 3641
CamillaDSP for Room Correction
Last Post: Snoopy8
25-Apr-2025 01:53 PM
» Replies: 33
» Views: 10144
Wiki update - need your help!
Last Post: Snoopy8
22-Apr-2025 02:23 PM
» Replies: 7
» Views: 211
No audio devices on RPi5 with latests bu...
Last Post: miksi
21-Apr-2025 12:52 AM
» Replies: 16
» Views: 508

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