Sound Compare
sound_compareCompare two sounds A/B to diagnose why a part doesn't match a reference: 1/3-octave bands, envelope, stereo width, and a distance score.
Instructions
A/B two sounds: 1/3-octave bands side by side (with << >> where A is >6 dB off), envelope from onset, centroid, stereo width, and one distance number. a/b are sources ('sound:', 'ref:drums', 'track:x', ...); window=[t0, t1] seconds or span=[start_bar, end_bar] (fractional) selects a slice. Reach for it when one part or one hit does not sound like the reference or the genre (a snare that sounds dated, a lead that does not sit like the record's): yours against theirs, on the window where it plays. Score the window, not the file: the envelope and every statistic over time count all of each sound, so a render or stem that runs past what the person hears (its release tail) reads apart from the clip they heard; the reply says when the lengths or tails differ and no window was given, and warns of any band more than 20 dB apart (text only). The distance is the number it has always been, so scores across rounds compare; fit_score=True scores the way instrument_fit does instead (each dB a band is past 20 dB off adds 0.15, the 25 Hz band counts for fmin=25).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| fmax | No | ||
| fmin | No | ||
| a_span | No | ||
| b_span | No | ||
| project | Yes | ||
| a_window | No | ||
| b_window | No | ||
| fit_score | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |