qiuqiangkong / torchlibrosa

MIT License
463 stars 46 forks source link

Support different win_length & n_fft #5

Open sophia1488 opened 2 years ago

sophia1488 commented 2 years ago

As the default n_fft is equal to win_length, error occurred when I tried to only modify the parameter n_fft. So I changed n_fft to win_length when performing padding & trimming on the audio length. Please help check that this is correct, thanks!