simple java timer program that plays an audio sample every n seconds