Rajneesh Gaikwad
Rajneesh Gaikwad

Reputation: 1193

How to record audio and save it in mp3 format in AS3 (Adobe Air2.5)?

I am building one desktop application in Air2.5, which needs to record and save audio. In AS3 (Specially with Air 2.5), is it possible to record and save audio in mp3 format?

Upvotes: 2

Views: 8972

Answers (2)

Brian Ruff
Brian Ruff

Reputation: 137

I use this pre-built Flash + JavaScript solution. It costs money, but works great. It will record, encode to MP3, and upload via PHP: http://recorder.denniehoopingarner.com/

Here is a free related example that will use Flash to encode to OGG: http://labs.byhook.com/2011/02/22/ogg-vorbis-encoder-decoder-for-flash/

I sat next to some Google programmers at a recent hackathon in SF who shared with me that Chrome will have the audio recording flag turned on by default starting April 2013 which technically makes recording in pure JS possible, but I have not seen a solution to encode and upload to a server yet. Good luck!

Upvotes: 1

Related Questions