AlexK-PL commited on
Commit
fc27602
·
1 Parent(s): 0de580c

Update stft.py

Browse files
Files changed (1) hide show
  1. stft.py +1 -1
stft.py CHANGED
@@ -64,7 +64,7 @@ class STFT(torch.nn.Module):
64
  assert(filter_length >= win_length)
65
  # get window and zero center pad it to filter_length
66
  fft_window = get_window(window, win_length, fftbins=True)
67
- fft_window = pad_center(fft_window, filter_length)
68
  fft_window = torch.from_numpy(fft_window).float()
69
 
70
  # window the bases
 
64
  assert(filter_length >= win_length)
65
  # get window and zero center pad it to filter_length
66
  fft_window = get_window(window, win_length, fftbins=True)
67
+ fft_window = pad_center(fft_window, size=filter_length)
68
  fft_window = torch.from_numpy(fft_window).float()
69
 
70
  # window the bases