M > Microphone.rate |
![]() ![]() ![]() |
Microphone.rate
Microphone, audio, sound, Microphone.rate, rate
Communications/Microphone/Properties/rate
Availability
Flash Player 6.
Usage
activeMicrophone
.rate
Description
Read-only property; the rate at which the microphone is capturing sound, in kHz. The default value is 8 kHz if your sound capture device supports this value. Otherwise, the default value is the next available capture level above 8 kHz that your sound capture device supports, usually 11 kHz.
To set this value, use Microphone.setRate
.
Example
The following example saves the current rate to the variable original
.
original = myMic.rate;
See also
![]() ![]() ![]() |