Java code for a simple sound machine for relaxation.