Open christophe-hall opened 1 year ago
I think I saw the same problem. I'll add a little more information here.
I get an exception inside of readLISTINFOSubChunks_()
where the second subChunk
param has a subchunk similar to the one shown above. This causes an exception on this line:
this.head = subChunk.chunkData.start;
...and you can see that the code here is ready to deal with the passed-in structure.
If someone will help me resolve my build issue, I'm happy to contribute a failing test and maybe a fix. The WAV files that fail for me are generated in Audition and contain markers.
Here is a WAV file that should reproduce the exception: female-sad-2.wav
I have all rights to the file and it's MIT-licensed from my repo. I am fine with it being included as a test wav in this repo.
WAV with RIFF chunks like:
is read by wavefile with a funky signature like:
This causes an exception where wavefile makes one LIST type (INFO or adtl) a subchunk of the other LIST type.