A simple demo using the javax.sound.sampled API