问题描述
大家好我是相当新的处理语音/麦克风输入AS3,但我目前的情况下,我需要检索通过麦克风语音输入,然后我必须能够把它作为一个FLAC音频格式,然后邮寄给我们的服务器。
Hi all I'm fairly new to handling voice / mic in AS3 but I am currently in a situation where I need to retrieve a voice input via the mic, and then I'd have to be able to get it as a FLAC audio format then POST it to our server.
将是很好,如果我就不需要发布前写的二进制FLAC数据文件,但如果这是不可避免的事情,我想这一切都还好。
Would be nice if I wouldn't need to write the binary FLAC data to a file before POSTing but if that's something unavoidable, I guess it's all okay.
我将开发它在Mac和Adobe AIR平台上的PC。 不会移动(还)。
I will be developing it for a Mac and a PC on the Adobe AIR platform. NOT FOR THE MOBILE (yet).
谢谢!
推荐答案
您可以使用这库。根据作者,您可以将原始数据转换(直接从微观检索,在这里,他们使用的术语rawPCMByteArray - 脉冲整code调制),以.FLAC文件
You can use this library. According to the authors, you can convert raw data (retrieved directly from micro, here, they use the term rawPCMByteArray - Pulse-code modulation), to .flac file.
这篇关于从MIC录音和导出/张贴的FLAC格式? - 桌面AIR,AS3,Flex的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!