2014-11-04 03:39:24 +00:00
|
|
|
.Dd November 2, 2014
|
2014-06-20 07:32:22 +00:00
|
|
|
.Dt SNDFILE-CMP 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm sndfile-cmp
|
2014-06-21 08:18:48 +00:00
|
|
|
.Nd compare two audio files
|
2014-06-20 07:32:22 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm sndfile-cmp
|
|
|
|
.Ar file1
|
|
|
|
.Ar file2
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
compares the audio data of two sound files.
|
2014-06-21 08:18:48 +00:00
|
|
|
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.
|
|
|
|
.Sh EXIT STATUS
|
2014-11-04 03:39:24 +00:00
|
|
|
.Bl -tag -width 1n -compact
|
2014-06-21 08:18:48 +00:00
|
|
|
.It 0
|
2014-11-04 03:39:24 +00:00
|
|
|
The audio data is the same.
|
2014-06-21 08:18:48 +00:00
|
|
|
.It 1
|
2014-11-04 03:39:24 +00:00
|
|
|
The audio data differs.
|
2014-06-21 08:18:48 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2020-10-05 07:11:47 +00:00
|
|
|
.Lk http://libsndfile.github.io/libsndfile/
|
2014-06-20 07:32:22 +00:00
|
|
|
.Sh AUTHORS
|
2014-06-21 08:18:48 +00:00
|
|
|
.An Conrad Parker Aq Mt conrad@metadecks.org
|
|
|
|
.An Erik de Castro Lopo Aq Mt erikd@mega-nerd.com
|