Comments

Flat
TIMIT wav file have problems!!
User: spring
Date: 12/23/2009 6:41 am
Views: 7060
Rating: 14

Hi,ken,I ask you for help!

Today,I used Hcopy to code timit wav file ,but I got the error :ERROR[+6251] GetTIMITHeaderInfo:Bad Numbers in TIMIT format header.I try to change the "SOURCEFORMAT" to "WAV"、"HTK"、"TIMIT",But still can't code my timit wav file.So HELPLESS!

Anybody who had used timit wav file for training?NEED your help!

May I have your email please,ken?So I can send your some of my timit wav file for analyzing!Thank you very much!

spring

Re: TIMIT wav file have problems!!
User: kmaclean
Date: 1/6/2010 10:10 pm
Views: 197
Rating: 14

> :ERROR[+6251] GetTIMITHeaderInfo:Bad Numbers in TIMIT format

>header.

See Keith Vertanen's HTK training recipe for TIMIT.

Re: TIMIT wav file have problems!!
User: benpbabu
Date: 6/25/2018 5:56 am
Views: 0
Rating: 0

I also encountered the same issue. I believe it is caused by the header information contained in the timit audio files. If you simply open it with wavesurfer you can see the header as a sharp spike in the beginning. I came up with two solutions.

1) Load the audio files in matlab (wavread/audioread) and save it with the same (or different) name (wavwrite/audiowrite). It appears that matlab removes the timit header info while loading and adds a standard riff header while saving wav files.

2) Using ch_wave command from Edinburgh Speech Tools. The idea is the same, copy the contents of the audio file to another file (or even the same file if you wish to overwrite) starting at time 0. This replaces the rusty header that is causing the  trouble with a normal riff header

ch_wave myfile.wav -start 0 -o myfile.wav

Now you can use HCopy with WAV as SOURCEFORMAT

PreviousNext