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

@@ -83,7 +83,7 @@ impl Default for PubertySimulator {
Self {
params: Arc::new(PubertySimulatorParams::default()),
stft: util::StftHelper::new(2, MAX_WINDOW_SIZE),
stft: util::StftHelper::new(2, MAX_WINDOW_SIZE, 0),
window_function: Vec::with_capacity(MAX_WINDOW_SIZE),
plan_for_order: None,