Flash AS3 - How to set high quality audio recording

前端 未结 3 1976
误落风尘
误落风尘 2021-01-25 12:20

Currently, I\'m using

mic.rate = 100;

This only gives 63kbps.

Is it possible for Flash AS3 to set bitrate higher than 63kbps?

3条回答
  •  遇见更好的自我
    2021-01-25 13:00

    The bit rate (kbps) depends on:

    1. the audio codec used (NellyMoser's Asao or Speex)
    2. the Asao sample rate (mic.rate) / the Speex encode quality (mic.encodeQuality) .

    NellyMoser's Asao

    With Asao the sound will use from 11 to 88kbps depending on the sampling rate:

    There's also a third factor with Nellymoser Asao:

    When using the Nellymoser codec, one microphone might produce more bandwidth over against another.

    Speex

    With Speex the sound will use from 4 to 42kbps depending on the encoding quality (sampling rate is fixed at 16kHz with Speex):

    From: 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.

提交回复
热议问题