Dump (and fix) wav headers
qwavheaderdump [option]...file...
qwavheaderdump reads a list of wav files and prints on standard output all its header values in text (no binary) form. also, it has ability to fix some of the headers in case they'd be incorrect.
-F,--fix
correct the header if there's any incorrect value. not all the fields are recoverable.
-h,--help
show a brief help and exit.
-q,--quiet
no output messages. don't show detected (and corrected) errors.
-V,--version
show version and exit.
tests has been done only with 44100 Hz 16 bit stereo files, though it may work with mono/stereo 8/16 bits files.
http://www.etse.urv.es/~dmanye/quelcom/quelcom.html