Sorry, I've been out of town. I checked with my MATLAB guru and he states that "after every "tag" (such as the word "data") in the wave file is a number that tells how many bytes are following. There must be an error in the number of bytes in the wav file you are using". I hope this helps you find the problem.