Originariamente inviato da ignoto_sm
Io ho già scritto quanto segue:
createEmptyMovieClip("micAudio", 3);
micAudio.attachAudio(Microphone.get());
inputMic = Microphone.get();
volume = inputMic.activityLevel;
//altre variabili
//Specifies whether to use the echo suppression feature of the audio codec.
inputMic.setUseEchoSuppression(true);
//Specifies the rate at which the microphone should capture sound, in kHz
inputMic.setRate(5);
//Specifies the amount of sound required to activate the microphone.
inputMic.setSilenceLevel(0);
//Specifies the amount by which the microphone should boost the signal
inputMic.setGain(50);