I was able to get node-wav's parser to throw an exception when working with a file with a LIST chunk that came before its fmt chunk. Neither sOx nor Audacity produced an error when opening the same file; I'd argue that node-wav should do the same.
This patch skips over a LIST encountered immediately after format. I've provided the culprit file as a fixture along with some tests.
Nate,
I was able to get node-wav's parser to throw an exception when working with a file with a
LIST
chunk that came before itsfmt
chunk. Neither sOx nor Audacity produced an error when opening the same file; I'd argue that node-wav should do the same.This patch skips over a LIST encountered immediately after format. I've provided the culprit file as a fixture along with some tests.
Take care,
Erin