I am trying to get features from a sound file(.wav);
- I have tried stft to get a 2D feature(x is time, y is frequency )
- I have tried pywt, but got a 1D array. If I input a 1D (1000,) wav array, I got an array of (500,)
- How to use pywt to get a 2D feature like stft got?
Here is the stft feature result:
You can use PyWavelet in following manner to get continuous wavelet transform of a audio wav file. However, the operation is little slow.