Re:Computational Synesthesia: Audio Analysis with Image Proc...
by doctoboggan on Tuesday October 01, 2013 @03:48PM
(#6478625)
I 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.
Re:Computational Synesthesia: Audio Analysis with Image Proc...
by etrain on Wednesday October 02, 2013 @08:07PM
(#6486307)
Where 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.
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.