![]() ![]() | |
Flash Player 6.
activeMicrophone.activityLevel
Read-only property; a numeric value that specifies the amount of sound the microphone is detecting. Values range from 0 (no sound is being detected) to 100 (very loud sound is being detected). The value of this property can help you determine a good value to pass to Microphone.setSilenceLevel() method.
If the microphone is available but is not yet being used because Microphone.get() has not been called, this property is set to -1.
The following example sets the variable level to the activity level of the current microphone, myMic.activityLevel.
var level = myMic.activityLevel;
![]() ![]() | |