Hi,I just spent an awful amount of time debugging a weird issue with the stft implementation in librosa. It turns out the stft is completely wrong when using a Numpy that was linked to Intel MKL (as opposed to ATLAS, which is the "standard" BLAS). The stft results from librosa are completely wrong when using MKL, even though matplotlib's specgram works. The implementations are kind of similar and both use the numpy.fft module for FFTs, so I could not figure out by myself what was going wrong.
I tested it by creating two similar Python environments with conda (the tool from the Anaconda Python distribution) and installing MKL only in one of them.Do you have any idea on what might have caused this?
Best,João
Hi Brian, and thanks for your quick reply!The output simply made no sense, I could not find what was wrong specifically. As an example, you can try running the example notebook 'LibROSA audio effects and playback' and listening to the outputs of the hpss call. I forgot to mention that this was on a Mac. It might be only an issue with the numpy package with MKL bindings on Anaconda, as opposed to something wrong with LibROSA.
I switched to the develop branch and switching to fftpack fixed this issue. scipy.fftpack uses a different implementation so it probably dodges the bug in numpy.fft with MKL.
Thanks again!