Wiki » History » Version 3
« Previous -
Version 3/22
(diff) -
Next » -
Current version
Chris Cannam, 2013-10-21 01:22 PM
Summary of results¶
We compared
decimate: the "Decimator"http://code.soundsoftware.ac.uk/projects/qm-dsp/embedded/classDecimator.html implementation in the qm-dsp library, which uses an 8-tap IIR lowpass filter;
resample_hq,resample_mq,resample_lq: the Resampler implementation in the qm-dsp library, which uses a lengthy Kaiser-windowed sinc filter, at three different quality settings;
src: the sndfile-resample program which uses libsamplerate, a well trusted resampler also using a Kaiser-windowed sinc implementation, at its default quality setting;
zoh: the sndfile-resample zero-order hold resampler, which just takes every Nth sample without any filtering, serving as a baseline.
Speed¶
Implementations by decimation factor¶
For 5292000 input frames.
Factor 2¶
| Frames per second | Clock time | Implementation |
| 14225806 | 0.372 | decimate |
| 8939189 | 0.592 | zoh |
| 3732016 | 1.418 | resample_lq |
| 1856842 | 2.850 | resample_mq |
| 989158 | 5.350 | resample_hq |
| 516141 | 10.253 | src |