WaveData: expected 4-byte chunk-name, got read error

1,180 views
Skip to first unread message

sophia7...@gmail.com

unread,
Aug 4, 2015, 5:08:12 AM8/4/15
to kaldi-help
Dear all:
     I use wav-t-duration to read a wav.scp. But I met this error, "WaveData: expected 4-byte chunk-name, got read error". What's the problem about this error? How can I resolve it? Thanks a lot. The below figure shows my error. Looking forward to your reply.
Auto Generated Inline Image 1

Jan Trmal

unread,
Aug 4, 2015, 9:08:36 AM8/4/15
to kaldi-help
The reason is right there, if you look carefully --
You are using sph2pipe to convert wav file and it knows only to work with sphere files.
for your files, each line wav.scp should look like
file-ID path/to/wav.wav

also, you should read the kaldi docs on I/O to understand what that means

y.

--
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sophia7...@gmail.com

unread,
Aug 5, 2015, 2:17:56 AM8/5/15
to kaldi-help, sophia7...@gmail.com
Thanks a lot. I modified my wav format to NIST. It's ok now.

sophia7...@gmail.com於 2015年8月4日星期二 UTC+8下午5時08分12秒寫道:

Daniel Povey

unread,
Aug 5, 2015, 2:58:37 PM8/5/15
to kaldi-help, sophia7...@gmail.com
If I understand you right, you are saying that you converted your wav to sph just so you could convert back again from sph to wav.  This is not right.  Your wav.scp should just read
utterance-id1  /foo/bar/utt1.wav
utterance-id2  /foo/bar/utt2.wav
or similar
Dan


--
Reply all
Reply to author
Forward
0 new messages