//! Onset detection modules
//!
//! Multiple onset detection methods with consensus voting:
//! - Energy flux
//! - Spectral flux
//! - High-frequency content (HFC)
//! - Harmonic-percussive source separation (HPSS)
//! - Consensus voting
// Thresholding utilities (median/MAD, percentile).
//
// NOTE: Not currently wired into the main onset detectors; kept as a reference implementation
// with proper citation for future tuning work.
/// Onset candidate with confidence