|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< size_t > MayaFlux::Yantra::find_zero_crossing_positions | ( | std::span< const double > | data, |
| double | threshold = 0.0 |
||
| ) |
Find actual zero-crossing positions in the signal.
Unlike compute_zero_crossing_energy which returns ZCR per window, this returns the actual sample indices where zero crossings occur.
| data | Input data span |
| threshold | Threshold value for crossing detection (default: 0.0) |
Definition at line 217 of file AnalysisHelper.cpp.
References find_zero_crossing_positions().
Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::create_analysis_result(), and find_zero_crossing_positions().
Here is the call graph for this function:
Here is the caller graph for this function: