|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< std::vector< double > > MayaFlux::Yantra::extract_onset_data | ( | const std::vector< std::span< const double > > & | data, |
| double | threshold = 0.3, |
||
| uint32_t | region_size = 512, |
||
| uint32_t | window_size = 1024, |
||
| uint32_t | hop_size = 256 |
||
| ) |
Extract data at onset/transient positions using spectral flux.
| data | Input data span |
| threshold | Onset detection threshold (normalized 0-1) |
| region_size | Size of region around each onset to extract |
| window_size | FFT window size for spectral analysis |
| hop_size | Hop size for spectral analysis |
Definition at line 618 of file ExtractionHelper.cpp.
References find_onset_positions().
Referenced by MayaFlux::Yantra::FeatureExtractor< InputType, OutputType >::extract_implementation().
Here is the call graph for this function:
Here is the caller graph for this function: