Music made from primitive sounds in Java