@@ -79,16 +79,11 @@ Output frame count may not be consistent. This is normal operation.
7979📝 [ More code examples] ( https://dofuuz.github.io/dsp/2024/05/26/sample-rate-conversion-in-python.html )
8080
8181
82- ## Requirement
83-
84- x86 and ARM processors are supported.
85-
86-
8782## Benchmark
8883
89- Sweep, impulse, speed compairsion with other Python resamplers.
84+ Sweep, impulse, speed compairsion with other resamplers for Python .
9085
91- https://colab.research.google.com/drive/1XgSOvWlRIau1FYwQG_yRSAhDK3KB8bEL ?usp=sharing
86+ https://colab.research.google.com/drive/1_xYUs00VWYOAXShB85W1MFWaUjGHfO4K ?usp=sharing
9287
9388
9489### Speed comparison summary
@@ -98,16 +93,16 @@ Ran on Google Colab.
9893
9994Library | Time on CPU (ms)
10095------------------------ | ----------------
101- soxr (HQ) | 7.2
102- scipy.signal.resample | 13.4
103- soxr (VHQ) | 15.8
104- torchaudio | 19.2
105- lilfilter | 21.4
106- julius | 23.1
107- resampy (kaiser_fast) | 62.6
108- samplerate (sinc_medium) | 92.5
109- resampy (kaiser_best) | 256
110- samplerate (sinc_best) | 397
96+ soxr (HQ) | 10.8
97+ torchaudio | 13.8
98+ soxr (VHQ) | 14.5
99+ scipy.signal.resample | 21.3
100+ lilfilter | 24.7
101+ julius | 31
102+ resampy (kaiser_fast) | 108
103+ samplerate (sinc_medium) | 223
104+ resampy (kaiser_best) | 310
105+ samplerate (sinc_best) | 794
111106
112107
113108## Technical detail
@@ -117,9 +112,9 @@ For technical details behind resampler, see libsoxr docs.
117112- http://sox.sourceforge.net/SoX/Resampling ([ archive] ( https://web.archive.org/web/20230626144127/https://sox.sourceforge.net/SoX/Resampling ) )
118113- https://sourceforge.net/p/soxr/code/ci/master/tree/src/soxr.h
119114
120- Python-SoXR uses [ forked version] ( https://github.com/dofuuz/soxr ) of libsoxr. [ See difference here] ( https://github.com/dofuuz/soxr/compare/0.1.3...master ) .
115+ Python-SoXR uses [ modified version] ( https://github.com/dofuuz/soxr ) of libsoxr. [ See changes here] ( https://github.com/dofuuz/soxr/compare/0.1.3...master ) .
121116These changes does not apply to dynamic linked builds. (e.g. conda-forge build)
122- To determine the version of libsoxr, use ` soxr.__libsoxr_version__ ` .
117+ To check the version of libsoxr, use ` soxr.__libsoxr_version__ ` .
123118
124119
125120## Credit and License
0 commit comments