SNDFILE-CMP(1) General Commands Manual SNDFILE-CMP(1)

sndfile-cmpcompare two audio files

sndfile-cmp file1 file2

sndfile-cmp compares the audio data of two sound files. For two files to compare as being the same, their channel counts, sample rate, audio data lengths and actual audio data must match. Other differences such as string metadata like song title, artist etc and their presence or absence are ignored.

0
The audio data is the same.
1
The audio data differs.

http://libsndfile.github.io/libsndfile/

Conrad Parker <conrad@metadecks.org>
Erik de Castro Lopo <erikd@mega-nerd.com>

November 2, 2014 Linux 6.7.0-arch3-1