我正在Air2.5中构建一个桌面应用程序,它需要录制和保存音频。 在AS3(特别是Air 2.5)中,是否可以以mp3格式录制和保存音频?
最佳答案
这是将音频转换为 mp3 的库: https://github.com/kikko/Shine-MP3-Encoder-on-AS3-Alchemy
要录制音频信息,请在此处: http://titansturf.in/2010/02/08/fetching-data-from-the-microhpone-and-recording-sound/
这也应该有用: http://suzhiyam.wordpress.com/2011/04/14/as3-microphone-record-and-save-as-wave-file/
关于保存,请阅读以下内容: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html
关于actionscript-3 - 如何在AS3(Adobe Air2.5)中录制音频并保存为mp3格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11341945/