|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Kinesis::Discrete::apply_spectral | ( | std::span< const double > | src, |
| uint32_t | window_size, | ||
| uint32_t | hop_size, | ||
| const SpectrumProcessor & | processor | ||
| ) |
Apply a per-frame spectrum processor via WOLA analysis-synthesis.
Frames the input with a Hann window, calls processor on each frame's one-sided spectrum, reconstructs via IFFT, and accumulates with WOLA normalisation. Output length equals input length.
| src | Input samples |
| window_size | FFT frame size (power of 2, >= 64) |
| hop_size | Hop between analysis frames |
| processor | Per-frame spectrum callback |
Definition at line 59 of file Spectral.cpp.
Referenced by harmonic_enhance(), spectral_filter(), spectral_gate(), and spectral_invert().
Here is the caller graph for this function: