Skip to main content

fold

Function fold 

Source
pub fn fold(track: &Track, period: Seconds) -> Vec<f64>
Expand description

Folds a track over a period into 64 bins: bin b is the mean of the samples whose phase falls in [b / 64, (b + 1) / 64). The result is one cycle of the waveform.