Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Comparisons between Libretro, PPHS, Sox, etc resamplers? (Read 506 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Comparisons between Libretro, PPHS, Sox, etc resamplers?

In terms of speed, quality, and tradeoffs?

To the best of my knowledge, Sox cannot be bundled because of the licensing, but how much faster (and/or better) is Libretro compared to PPHS, in their different modes?

Re: Comparisons between Libretro, PPHS, Sox, etc resamplers?

Reply #1
This site has lots of examples and comparisons of the technical differences between various SRCs. Anyone can download the test files and run the tests for themselves with any SRC too, and upload their findings back to the site admins.

https://src.infinitewave.ca/

That's just for quality though, not speed, I think. I always use FinalCD for downsampling 96 to 44 as it's technically the best, but I don't think it will ever run in real time!

Re: Comparisons between Libretro, PPHS, Sox, etc resamplers?

Reply #2
I always use FinalCD for downsampling 96 to 44 as it's technically the best
This depends on what you mean by "technically the best". FinalCD has better passband and transition, but it also has longer ringing than SoX (pictures with impulse at src.infinitewave.ca are not informative enough to compare ringing)
Original file was impulse at 96 kHz 32 bit float

Final CD 0.28  /24 /f0 /d0 /o44100


SoX command line tool -b 24 -D rate -v -b 99 44100

Re: Comparisons between Libretro, PPHS, Sox, etc resamplers?

Reply #3
Agreed, probably poor choice of wording on my part. It's I generally prefer to trade a little (inaudible to me) ringing for better passband and transition. Swings and roundabouts I think, there's always a tradeoff somewhere in audio!

 

Re: Comparisons between Libretro, PPHS, Sox, etc resamplers?

Reply #4
To the best of my knowledge, Sox cannot be bundled because of the licensing
From what i found, LGPL library can be used in closed source software.
https://dzone.com/articles/the-lgpl-license
https://softwareengineering.stackexchange.com/questions/47323/can-i-use-an-lgpl-licenced-library-in-my-commercial-app
And SoX resampler library is released under LGPL 2.1 https://github.com/chirlu/soxr/blob/master/LICENCE

 
SimplePortal 1.0.0 RC1 © 2008-2021