[英]Flash AS3 - How to set high quality audio recording
Currently, I'm using 目前,我正在使用
mic.rate = 100;
This only gives 63kbps. 这仅提供63kbps。
Is it possible for Flash AS3 to set bitrate higher than 63kbps? Flash AS3是否可以将比特率设置为高于63kbps?
It's flash. 快闪了 Great quality also depends on users' hardware.
高质量还取决于用户的硬件。 You didn't post full settings for your microphone.
您没有发布麦克风的完整设置。 Also value that you are using isn't valid.
同样,您使用的值无效。
Here a small snippet, for mic settings, that will give you good enough results: 这是一个用于麦克风设置的小片段,它将为您带来足够好的效果:
var micOptions : MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
micOptions.echoPath = 128;
micOptions.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
micOptions.nonLinearProcessing = true;
microphone.setSilenceLevel(0);
microphone.rate = 44;
microphone.enhancedOptions = micOptions;
The bit rate (kbps) depends on: 比特率(kbps)取决于:
With Asao the sound will use from 11 to 88kbps depending on the sampling rate: 使用Asao时,声音将使用11至88kbps,具体取决于采样率:
There's also a third factor with Nellymoser Asao: Nellymoser Asao还有另一个因素:
When using the Nellymoser codec, one microphone might produce more bandwidth over against another.
使用Nellymoser编解码器时,一个麦克风可能比另一个麦克风产生更多的带宽。
With Speex the sound will use from 4 to 42kbps depending on the encoding quality (sampling rate is fixed at 16kHz with Speex): 使用Speex时,声音将使用4到42kbps的速度,具体取决于编码质量(使用Speex时,采样率固定为16kHz):
From: http://audior.ec/blog/audio-quality-and-bitrate-in-flash-as3-web-apps/ 来自: http : //audior.ec/blog/audio-quality-and-bitrate-in-flash-as3-web-apps/
These bitrates should reflect in the .flv where the audio is stored/recorded. 这些比特率应反映在存储/录制音频的.flv中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.