Problem
Try sprinkling in some specific values into your sounds. What happens if you set the value of a few thousand samples in the middle of a sound to 32,767? Or a few thousand to -32,768? Or set the few thousand sample to a bunch of zeroes? What happens to the sound in each of these cases?