Convert WAV to MP3 in ActionScript

I am writing a script that allows the user to record their voice and then saves the file in MP3 format. I record using http://code.google.com/p/micrecorder/ , which works fine and WAV is saved. However, I need to convert this file on disk to mp3 before moving it along the pipeline.

I have a lot of experience in the world of PHP / Python / Ruby / C, but this is my first foray into AS3, any ideas?

+5
source share
2 answers

You can probably do this in Flash with Alchemy , but I think you should send WAV (or raw data) to the server, encode the file server side and send it to the user. From what I saw, even with Alchemy, the encoding is too slow and hang the user interface.

0
source

Try using the following MP3 encoder:

http://code.google.com/p/flash-kikko/

It works for me!

+4
source

All Articles