holding down button to play audio

i know the function repeat button so it work as long you hold it down but here is my problem. I want to play and audio file as long you hold it down and the audio file loop. When is use repeat button and audio.play it only plays the first note of the audio file but not the audio. Any idea how to do this?

Only play the sound if it’s not already playing. Something similar to this:

if (GUI.RepeatButton (Rect (10, 10, 10, 10), ""))
{
   if (!audio.isPlaying)
      audio.Play ();
}
else
{
   audio.Stop ();
}