使用Flex,我们可以记录声音从麦克风和本地存储以及后来上传?有没有任何相关的链接,这个请注明
Using flex,As can we record sound from microphone and store locally and and upload later?? Is there any relevant links to this please indicate
这是可能使用麦克风API SAMPLE_DATA事件录制音频。事件的数据属性是与音频数据的ByteArray。
It is possible to record audio using the Microphone API SAMPLE_DATA event. The data property of the event is a ByteArray with the audio data.
一个基于web的Flash应用程序可以在存储器这些数据样本复制到一个数据结构,并提示用户将数据保存到本地文件。 AIR应用将能够将数据写入到文件系统或SQL数据库直接
A web based Flash application could copy these data samples to a data structure in memory and prompt the user to save the data to a local file. An AIR application would be able to write the data to the file system or SQL database directly.
请参阅下面的链接在ActionScript从麦克风访问音频:
See the links below for accessing audio from the microphone in ActionScript:
的http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d1d.html http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Microphone.html http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d1d.html http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Microphone.html这可能有助于EN code以标准化格式的数据,以帮助阅读和编辑后(的 WAV 或 PCM )。您也可以使用COM pression,以减少文件大小的传输(例如:的的Ogg Vorbis $从Adobe C $ CC)。
It may help to encode the data in a standardised format to help with reading and editing later (WAV or PCM). You may also want to use compression to reduce the file size for transmission (eg: Ogg Vorbis codec from Adobe).