|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Kinesis::Discrete::spectral_filter | ( | std::span< const double > | src, |
| double | lo_hz, | ||
| double | hi_hz, | ||
| double | sample_rate, | ||
| uint32_t | window_size = 1024, |
||
| uint32_t | hop_size = 256 |
||
| ) |
Hard bandpass filter: zero all bins outside [lo_hz, hi_hz].
| src | Input samples |
| lo_hz | Lower frequency bound (Hz) |
| hi_hz | Upper frequency bound (Hz) |
| sample_rate | Sample rate (Hz) |
| window_size | FFT frame size |
| hop_size | Analysis hop |
Definition at line 123 of file Spectral.cpp.
References apply_spectral(), and b.
Here is the call graph for this function: