Search code examples
phpflashaudioaudio-recordingrecording

Flash & PHP library to record sound in browser and save to .wav file?


This question has been previously mentioned on Stack Overflow, but the answers were not helpful. I've looked at this link as well, but it does not allow the user to re-record their sound in case they made an error.

What would be your recommendation?

Previous question

Thanks,
Lucas


Solution

  • You should check this link. http://active.tutsplus.com/tutorials/actionscript/create-a-useful-audio-recorder-app-in-actionscript-3/

    You can send byte[] of sound to any dynamic server (php for instance) and make file and save the data.

    Note that there is one thing missing. Once user will click on record button you will see flash will ask for permission to allow recording in pop-up. So If you have low size flash window you are not gonna see the popup to allow and thus no recording will make.

    Also I found it records only in wav not mp3 for personal use I used ffmpeg to convert wav into mp3 in php.