3 ms·
Would love to see how this works vs. just finding the max correlation of the 1d sampled stream vs the base data. If that's no good - try fft on the 1d sample an
by etrain 13y ago
Would love to see how this works vs. just finding the max correlation of the 1d sampled stream vs the base data. If that's no good - try fft on the 1d sample and rescale.
- doctoboggan 13y agoI explored this options as well. In my testing I was able to get a factor of 6 speedup simply by reshaping a 1D array into 2 dimensions. The FFT on the 1D audio would not work because the FFT of a sub sample would not be immediately recognizable in the FFT of the whole. This is why I took the spectrogram approach, which is many FFTs over time.
- etrain 13y agoWhere does that 6x speedup come from? Is it a different algorithm? How is the 1d process different from the 2d? It might be that the 2d lib is just better optimized.