|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Yantra::process_spectral_windows | ( | std::span< double > | data, |
| uint32_t | window_size, | ||
| uint32_t | hop_size, | ||
| ProcessorFunc && | processor | ||
| ) |
Common spectral processing helper to eliminate code duplication.
| ProcessorFunc | Function type for spectral processing |
| data | Input data span |
| window_size | Size of analysis window |
| hop_size | Hop size between windows |
| processor | Function to process spectrum in each window |
Definition at line 44 of file SpectralHelper.hpp.
References MayaFlux::Nodes::Generator::generate_window(), and MayaFlux::Nodes::Generator::HANNING.
Referenced by MayaFlux::Yantra::SpectralTransformer< InputType, OutputType >::transform_implementation(), transform_pitch_shift(), transform_pitch_shift(), transform_spectral_filter(), transform_spectral_filter(), transform_spectral_invert(), and transform_spectral_invert().
Here is the call graph for this function:
Here is the caller graph for this function: