Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

sndfile-cmp (1)

Name

sndfile-cmp - compare two audio files

Synopsis

sndfile-cmp file1 file2

Description

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

NAME
     sndfile-cmp -- compare two audio files

SYNOPSIS
     sndfile-cmp file1 file2

DESCRIPTION
     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.

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


ATTRIBUTES
     See attributes(7) for descriptions of the following attributes:

     +---------------+--------------------+
     |ATTRIBUTE TYPE |  ATTRIBUTE VALUE   |
     +---------------+--------------------+
     |Availability   | library/libsndfile |
     +---------------+--------------------+
     |Stability      | Uncommitted        |
     +---------------+--------------------+

SEE ALSO
           http://www.mega-nerd.com/libsndfile

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



NOTES
     Source code for open source software components in Oracle Solaris can be
     found at https://www.oracle.com/downloads/opensource/solaris-source-code-
     downloads.html.

     This software was built from source available at https://github.com/ora-
     cle/solaris-userland.  The original community source was downloaded from
     http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz.

     Further information about this software can be found on the open source
     community website at http://www.mega-nerd.com/libsndfile/.

BSD                            November 2, 2014                            BSD