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

后端 未结 2 1980
暖寄归人
暖寄归人 2020-12-03 16:54

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 mp

相关标签:
2条回答
  • 2020-12-03 17:11

    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!

    0 讨论(0)
  • Here is library to convert audio to mp3 : https://github.com/kikko/Shine-MP3-Encoder-on-AS3-Alchemy

    To record audio informations are here : http://titansturf.in/2010/02/08/fetching-data-from-the-microhpone-and-recording-sound/

    This also should be usefull : http://suzhiyam.wordpress.com/2011/04/14/as3-microphone-record-and-save-as-wave-file/

    And about save read this : http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html

    0 讨论(0)
提交回复
热议问题