diff --git a/stft.py b/stft.py index edfc44ae8..4b979ec87 100644 --- a/stft.py +++ b/stft.py @@ -64,7 +64,7 @@ def __init__(self, filter_length=800, hop_length=200, win_length=800, assert(filter_length >= win_length) # get window and zero center pad it to filter_length fft_window = get_window(window, win_length, fftbins=True) - fft_window = pad_center(fft_window, filter_length) + fft_window = pad_center(fft_window, size=filter_length) fft_window = torch.from_numpy(fft_window).float() # window the bases