Have you ever hurt yourself from your own code?
One of the first lessons (often learned the hard way) of any sort of audio processing work is to turn your volume way down before starting any sort of playback.