|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Yantra::compute_zero_crossing_energy | ( | std::span< const double > | data, |
| const size_t | num_windows, | ||
| const uint32_t | hop_size, | ||
| const uint32_t | window_size | ||
| ) |
Compute zero-crossing energy using zero-copy processing.
This function computes the zero-crossing rate for a given data span. It counts the number of zero crossings in each window and normalizes it.
| data | Input data span |
| num_windows | Number of windows to process |
| hop_size | Hop size for windowing |
| window_size | Size of each window |
Definition at line 41 of file AnalysisHelper.cpp.
References compute_zero_crossing_energy(), and MayaFlux::zero_crossings().
Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::compute_energy_values(), and compute_zero_crossing_energy().
Here is the call graph for this function:
Here is the caller graph for this function: