|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::detect_onsets | ( | const std::vector< double > & | data, |
| double | sample_rate = 48000.0, |
||
| double | threshold = 0.1 |
||
| ) |
Detect onset times in single-channel signal.
| data | Input signal data |
| sample_rate | Sample rate for time calculation (default: 48000 Hz) |
| threshold | Energy threshold for onset detection (default: 0.1) |
Definition at line 419 of file Yantra.cpp.
References MayaFlux::Yantra::find_onset_positions().
Here is the call graph for this function: