Zeinok/OVGen

Bad Header error

matvtssf opened this issue · 7 comments

Getting some bad Header errors when loading WAV files from adobe audition.

"Bad Header '20', expected '16'" is the error I get on all files saved from adobe audition.

Make sure your wav file is in 16-bit depth or 8-bit depth.

If you exported with those bitdepth above and doesn't work, upload the wav file for me to check out the header, thanks.

They were 16-bit for sure. Here's an example WAV file (also including a video of the saving process in case that helps :) )

EDIT: video had no sound, but I redid it to show resaving file in audacity fixes it (maybe Adobe Audition is corrupting the header, because audacity seems to think it's 32-bit floating point when the WAV file is opened)

rufustest2.zip

fixed
There is a field named ExtraParams, and normally it should not appear in PCM-encoded file, as it documented here, but I still fixed it if these problem still occure in future.
061782a

https://github.com/Zeinok/OVGen/releases/tag/0.0.17.3
Released.
Try if you can use the wav file exported from Adobe Audition.

Works like a charm now thank you! :)

I also get "Bad Header '40'" for other WAV files I load into the program. Some file-conversion websites put this value in the header.

Please open a new issue, thanks.