preventing playing melody from buffer on reset