Original Post
Hi, I'm trying play some midi files as background music in a tetris app I'm writing but it's giving me some problems. I used the JApplet and AudioClip classes to play the files in their own thread; this does work but after a few minutes the sound becomes distorted and scratchy. Sometimes the sound disappears completely creating bottlenecks and even bringing my whole system down with it on a few occasions. Help and advice on how to fix this would be greatly appreciated.