Material-adaptive window/overlap recommendation. More...
#include <offline_stretch.hpp>
Public Attributes | |
| int | fft_size |
| int | analysis_hop |
Material-adaptive window/overlap recommendation.
Analyzes the input and returns the {fft_size, analysis_hop} to set on OfflineStretchOptions before prepare(). Ear-validated geometry: percussive (high crest) -> 1024 / 128 (time resolution: sharp, natural attacks) bass / low-fundamental-heavy -> 8192 / 512 (16× overlap; resolves closely-spaced low partials so the stretch doesn't wobble) everything else -> {0, 0} (engine default 4096/512) Order matters: a kick-heavy break is BOTH low and percussive — transients win, or the long window smears every hit. lo_band is the energy fraction below 200 Hz; crest is peak/mean of a short-window energy envelope.
| int pulp::signal::OfflineStretchT< SampleType >::Window::analysis_hop |
| int pulp::signal::OfflineStretchT< SampleType >::Window::fft_size |