Is their anyway to save recorded audio

Hi guys, I’m messing around with the record feature , and I was wondering I could save it for use in the game latter( not like save data, only in the same screen . )

If the anyway to assign the recorded clip to other game objects to be triggered latter.

var recordtime : float = 30;
var samplerate : float = 46100;
//var Micname : String ;


function OnMouseOver () 
{
 if (Input.GetMouseButtonDown(0)) {
    audio.clip = Microphone.Start("Microphone", false, recordtime, samplerate);
    audio.Play();
} 
}

You can use AudioClip.GetData and save the float array with some System.IO.File function. Probably convert the floats to bytes first, since saving floats as text is problematic.

–Eric

Thanks, its something I;m going to keep on the backburner, since its very hard to port that type of thing across platforms