Add a padding option to StftHelper

This commit is contained in:
Robbert van der Helm
2022-05-08 01:18:56 +02:00
parent d0fcc9878e
commit 55eeb689dd
4 changed files with 89 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ impl Default for Stft {
Self {
params: Arc::new(StftParams::default()),
stft: util::StftHelper::new(2, WINDOW_SIZE),
stft: util::StftHelper::new(2, WINDOW_SIZE, 0),
window_function: util::window::hann(WINDOW_SIZE),
lp_filter_kernel: complex_fft_buffer.clone(),