Groups | Blog | Home
all groups > flash actionscript > august 2007 >

flash actionscript : Microphone recording


cory_
8/20/2007 10:48:05 PM
Hi, it would be much appreciated if anyone can help me with this.

Is it possible to create a swf file that can record audio from your microphone
and save it as a mp3/wav file on your computer?

I?m wanting to make it so the user can click on a record button start talking
into there microphone and have there audio saved on there computer, then click
the record button again to end the recording.

Thanks,
Cory
clbeech
8/20/2007 11:15:51 PM
This is interesting, I see that there is a Microphone AS class, but it's mostly
used with the Flash Communication server. However, I don't see any mention of
how to go about 'recording' the input though, or file convertion, or saving it.

Not much help :(
cory_
8/20/2007 11:38:07 PM
Yeah I was looking at that too, but couldn?t figure out how I could use it :/

GWD
8/21/2007 12:00:00 AM
You can't save anything directly from the microphone or camera classes. You can
display a local webcam but not save it as video for example. I'm not sure if
you can route the microphone through the speakers (I probably wouldn't want to
do it!) in a similar way.
Actually the saving part applies pretty much to anything (except local
Sharedobjects). The exception here is that for other data you can upload it to
a regular application server and have a 'download' of the data for saving (e.g.
images or something else). The difference here is that you can't do that with
microphone or video...AFAIK they only communicate with flash media server (or,
now, also red5).


AddThis Social Bookmark Button