I'm currently capable of capturing audio using the microphone, but I would like some tips on saving it to the mobile device.
I'm being using the techniques described here to record and play audio through the microphone:
http://suzhiyam.wordpress.com/tag/using-microphone-in-as3/
The save technique used is this:
function onSave(evt:MouseEvent=null):void
{ hidePlayUI() soundO.position=0 var o:ByteArray=enco.encode(soundO,1) file.save(o,"sample.wav") showPlayUI()
}
What is the best method to save an audio file from a ByteArray? Where does it actually save? How can I reference/load the saved audio file later in my application? Is FileReference the way to go or should I be using mediaPromise?
Thanks,
Tegan Snyder