pub fn compare(
clip: &ClipMetrics,
renders: &[ClipMetrics],
rows: &[SpreadRow],
) -> Result<Vec<Comparison>, SpreadError>Expand description
Compares clip with each of renders on every clip output.
The difference is the median over the renders of the clip’s distance
from one render. A clip of the same sound lies within the row’s limit
with the coverage of tolerance_rank.
§Errors
Returns SpreadError::SampleRate when the clip and the renders have
different sample rates, SpreadError::Runs for no render and
SpreadError::MissingRow for a clip output that rows lacks.