| 1 |
.Dd November 2, 2014 |
| 2 |
.Dt SNDFILE-CMP 1 |
| 3 |
.Os |
| 4 |
.Sh NAME |
| 5 |
.Nm sndfile-cmp |
| 6 |
.Nd compare two audio files |
| 7 |
.Sh SYNOPSIS |
| 8 |
.Nm sndfile-cmp |
| 9 |
.Ar file1 |
| 10 |
.Ar file2 |
| 11 |
.Sh DESCRIPTION |
| 12 |
.Nm |
| 13 |
compares the audio data of two sound files. |
| 14 |
For two files to compare as being the same, their channel counts, sample rate, |
| 15 |
audio data lengths and actual audio data must match. |
| 16 |
Other differences such as string metadata like song title, artist etc and their |
| 17 |
presence or absence are ignored. |
| 18 |
.Sh EXIT STATUS |
| 19 |
.Bl -tag -width 1n -compact |
| 20 |
.It 0 |
| 21 |
The audio data is the same. |
| 22 |
.It 1 |
| 23 |
The audio data differs. |
| 24 |
.El |
| 25 |
.Sh SEE ALSO |
| 26 |
.Lk http://libsndfile.github.io/libsndfile/ |
| 27 |
.Sh AUTHORS |
| 28 |
.An Conrad Parker Aq Mt [email protected] |
| 29 |
.An Erik de Castro Lopo Aq Mt [email protected] |