Skip to main content

mix_rms

Function mix_rms 

Source
pub fn mix_rms(parts: &[(f64, f64, f64)]) -> f64
Expand description

The time-weighted RMS of a figure over a duty mix: (weight, the figure’s RMS over the cycle, the cycle’s time) per duty, sqrt(sum w RMS^2 t / sum w t). Each duty runs its cycle w times as often as one of weight 1. NaN for no time.