Certain WAV files have metadata appended after the 'data' chunk.
With the current implementation, this metadata is loaded as part of the sample data and result in a short burst of noise at the end of the sample.
See PR https://github.com/sgothel/joal/pull/15 for proposed fix
Your patch is ok for me.
Xerxes, please can you look at his patch?