sndfile-cmp man page
sndfile-cmp — compare two audio files
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.
- The audio data is the same.
- The audio data differs.