Wiki » History » Version 3

Chris Cannam, 2013-10-21 01:22 PM

1 1 Chris Cannam
h1. Summary of results
2 1 Chris Cannam
3 1 Chris Cannam
We compared
4 1 Chris Cannam
5 2 Chris Cannam
 * @decimate@: the "Decimator"http://code.soundsoftware.ac.uk/projects/qm-dsp/embedded/classDecimator.html implementation in the "qm-dsp":/projects/qm-dsp library, which uses an 8-tap IIR lowpass filter;
6 1 Chris Cannam
7 2 Chris Cannam
 * @resample_hq@, @resample_mq@, @resample_lq@: the "Resampler":http://code.soundsoftware.ac.uk/projects/qm-dsp/embedded/classResampler.html implementation in the "qm-dsp":/projects/qm-dsp library, which uses a lengthy Kaiser-windowed sinc filter, at three different quality settings;
8 1 Chris Cannam
   
9 1 Chris Cannam
 * @src@: the sndfile-resample program which uses "libsamplerate":http://mega-nerd.com/SRC/, a well trusted resampler also using a Kaiser-windowed sinc implementation, at its default quality setting;
10 1 Chris Cannam
11 1 Chris Cannam
 * @zoh@: the sndfile-resample zero-order hold resampler, which just takes every Nth sample without any filtering, serving as a baseline.
12 3 Chris Cannam
13 3 Chris Cannam
h2. Speed
14 3 Chris Cannam
15 3 Chris Cannam
h3. Implementations by decimation factor
16 3 Chris Cannam
17 3 Chris Cannam
For 5292000 input frames.
18 3 Chris Cannam
19 3 Chris Cannam
h4. Factor 2
20 3 Chris Cannam
21 3 Chris Cannam
|Frames per second|Clock time|Implementation|
22 3 Chris Cannam
|  14225806|0.372|decimate|
23 3 Chris Cannam
|   8939189|0.592|zoh|
24 3 Chris Cannam
|   3732016|1.418|resample_lq|
25 3 Chris Cannam
|   1856842|2.850|resample_mq|
26 3 Chris Cannam
|    989158|5.350|resample_hq|
27 3 Chris Cannam
|    516141|10.253|src|
28 3 Chris Cannam
29 3 Chris Cannam
h4. Factor 4
30 3 Chris Cannam
h4. Factor 8
31 3 Chris Cannam
h4. Factor 16
32 3 Chris Cannam
h4. Factor 32
33 3 Chris Cannam
h4. Factor 64