compare_audio
Compare reference and candidate audio to check timing, level, bands, chroma, and envelope, with alignment, gain, and optional residual output for mix verification.
Instructions
Compare reference and rendered audio by timing, level, bands, chroma and envelope.
Files need matching channel counts. Candidate resampling and bounded constant
alignment are reported; no time warp conceals tempo errors. Positive delay means
candidate audio arrived later. Gain compensation is only for comparison, and
waveform error is phase-sensitive, not a musical quality or leakage score.
Poll get_audio_job; outputs and optional residual live in a unique run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | True carries the removal out. False changes nothing and returns a report of what the call would remove, which is how to look before committing to it. | |
| output_dir | Yes | Parent directory for a unique audio run. | |
| end_seconds | No | Exclusive end in source-file seconds. | |
| start_seconds | No | Start in absolute source-file seconds. | |
| candidate_path | Yes | Local mono/stereo audio file path (WAV/FLAC). | |
| reference_path | Yes | Local mono/stereo audio file path (WAV/FLAC). | |
| write_residual | No | Write the gain-aligned, phase-sensitive difference as a FLOAT WAV. | |
| max_alignment_ms | No | Delay search radius in milliseconds; zero disables alignment. | |
| candidate_start_seconds | No | Candidate-file seconds corresponding to the reference section start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||