Hey Charles, if you haven't already found a solution for creating a proper WAV file, here is my take on the matter