ComfyUI Node
Compare Audio
Align and compare two selected audio ranges using alignment and waveform metrics.
Compare Audio
- audio_1
- audio_2
- Audio 1 only
- Audio 2 only
- 1−2 difference
- similarity
- audio_2_delay_seconds
- 1+2 overlay
◄auto_aligntrue►
◄max_shift_seconds2.00►
CategoryALICE_Lab/Audio
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| audio_1 | AUDIO | — | |
| audio_2 | AUDIO | — | |
| auto_align | BOOLEAN | true | — |
| max_shift_seconds | FLOAT | 2.000–30 | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| Audio 1 only | AUDIO | Audio 1 after optional time alignment. |
| Audio 2 only | AUDIO | Audio 2 after optional time alignment. |
| 1−2 difference | AUDIO | Sample-by-sample Audio 1 minus Audio 2. |
| similarity | FLOAT | Overall similarity as a scalar from 0.0 to 1.0. |
| audio_2_delay_seconds | FLOAT | Signed number of seconds applied to align Audio 2; negative advances Audio 2. |
| 1+2 overlay | AUDIO | Aligned Audio 1 and Audio 2 mixed together at equal gain. |