Merged playAudio with playAudioRepeatedly.