Here's some example python code demonstrating whats happening. Note the output displaying the missing bytes in the comments at the end.
https://pastebin.com/Ejt6EW21 To run, this snippet requires the soundfile and pexpect packages to be installed, which can be done by using the commands 'pip install soundfile' and 'pip install pexpect' in a terminal.
You'll also need to replace the path in 'file = sf.SoundFile(...)' on line 30 with one of your own, ideally a wav.