I'm facing an odd problem during my journey. Following the examples provided in the book (and also writing my own pieces), sometimes the output sound gets heavily disorted as if the sound levels go far beyond the maximum and there's an extreme clipping sound.
The weirdest part of all this, is that this distortion only occurs when the code is running 'live'. If I use the 'Export' function in miniAudicle, the resulting sound is crystal-clear. I've also used a simple snippet to record the output to a file manually and the same good-sounding result occurs. I tried using another sound interface (as far as I know, the HDMI counts as another audio interface), and an external interface embedded into my Beringher UMA25S MIDI controller with the same results every time.
Since I don't know how to properly diagnose/solve this problem, I hope some of you can give me some insight to get over this and keep ChucKing :)