I tried out STFT from librosa in Python with n_fft of 128 and get an output of shape (1,65, 5). When doing the same with RosaKit in Swift on iOS, the output shape is (1,65,13). In Swift I have set the hopLength to 32 (bc in RosaKit hop_length is winLength // 4 by defualt, and winLength is nFFT).
Any idea why I get different results with your library?
Hi, thank you for your work!
I tried out STFT from librosa in Python with n_fft of 128 and get an output of shape (1,65, 5). When doing the same with RosaKit in Swift on iOS, the output shape is (1,65,13). In Swift I have set the hopLength to 32 (bc in RosaKit hop_length is winLength // 4 by defualt, and winLength is nFFT).
Any idea why I get different results with your library?