Window function in FramedSignalProcessor?
shreyanc opened this issue · 2 comments
shreyanc commented
I can't seem to find a way to specify a windowing function in madmom. Is this a deliberate choice? (As a contrast, librosa allows this).
superbock commented
madmom.audio.stft.stft()
has a window
argument, which takes a window array.
madmom.audio.stft.ShortTimeFourierTransform
additionally takes a callable function (e.g. np.hamming
) for the same argument.
You can pass this argument to any class higher in the hierarchy (e.g. all sorts of spectrogram classes).
shreyanc commented
That clears it up. Thanks a lot!