M > Microphone.activityLevel |
![]() ![]() ![]() |
Microphone.activityLevel
Microphone, audio, sound, Microphone.activityLevel, activityLevel
Communications/Microphone/Properties/activityLevel
Availability
Flash Player 6.
Usage
activeMicrophone
.activityLevel
Description
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 Mouse (object)
has not been called, this property is set to -1.
Example
The following example sets the variable level
to the activity level of the current microphone, myMic.activityLevel
.
var level = myMic.activityLevel;
See also
![]() ![]() ![]() |