Give repeat a default value in playSound()