Skip to main content

gated_samples

Function gated_samples 

Source
pub fn gated_samples(
    track: &Track,
    notes: &NoteList,
    settle: Seconds,
) -> (Vec<Seconds>, Vec<f64>)
Expand description

The samples of a level track that a modulation estimate may use: level within 40 dB of the track’s peak, inside a note, and at least settle after the note’s onset.