I'm trying to work with WAV files using scipy.io.wavfile but the file I want to read has headers inside of it (NIST). I tried deleting the headers (that was dumb), I tried using other libraries (wave), custom functions found online but It still doesn't work. I get "Not a WAV file."
The .wav files are from mocha-timit, a speech training corpus.
can someone help me out?
Thanks.
Some things you could try:
(1) Use scikits.audiolab
as in this question
(2) Convert the wav format from NIST format to the standard RIFF format with a tool like sndfile-convert
from 'libsndfile' (You'll need to change the original file endings to .nist).
I got (2) to work on my own system and could read the files with scipy.io.wavfile.read