|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Kinesis::Discrete::harmonic_enhance | ( | std::span< const double > | src, |
| double | enhancement_factor, | ||
| uint32_t | window_size = 1024, |
||
| uint32_t | hop_size = 256 |
||
| ) |
Linear spectral tilt: scale each bin by a factor that rises linearly from 1 at bin 0 to enhancement_factor at the Nyquist bin.
This is a first-order spectral emphasis, not a true harmonic detector; caller should be aware that it brightens high-frequency energy uniformly regardless of harmonic * structure.
| src | Input samples |
| enhancement_factor | Gain at the Nyquist bin (> 1 brightens, < 1 darkens) |
| window_size | FFT frame size |
| hop_size | Analysis hop |
Definition at line 155 of file Spectral.cpp.
References apply_spectral(), and b.
Here is the call graph for this function: