separate thread for alarm sound playback; alarm duration parameter