Corrupt wav file header

조회 수: 3 (최근 30일)
Shona Darcy
Shona Darcy 2011년 12월 9일
About 10% of my wav files appear to have some corruption in their header information. I can open all my files in audio tool such as Audacity, Windows media play etc However when I try to read certain files using the wavread function I get this error:
---------------------
Error using ==> wavread at 93 Truncated chunk header found - possibly not a WAV file.
Error in ==> wavread at 93 error('wavread:InvalidFile',msg);
-----------------------------
I've looked at their header information and it seems to be ok.
any ideas on how to fix this? Can I read the data without the header?
thanks for any help Shona

답변 (1개)

Daniel Shub
Daniel Shub 2011년 12월 10일
How did you create the wav file?
I don't think you can read the data in a meaningful manner without the header. You might be able to open it with Audacity and save it again and see if that fixes it.

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by