1

I am using this code snippet to trace the activityLevel (basically volume) from the microphone. Basically, this shows an integer by using

function onMicActivity(event:ActivityEvent):void 
{ 
    trace("activating=" + event.activating + ", activityLevel=" +  
        mic.activityLevel); 
} 

According to Adobe's ActionScript 3.0 reference, the activityLevel property only outputs a single integer between 0 and 100. How can I get volume levels of the left channel and the right channel separately?

Mike Eng
  • 1,593
  • 4
  • 34
  • 53

1 Answers1

3

I think the appropriate answer is user = upCreek - paddle;. See Adobe's statement on the subject:

"... keep in mind that the Microphone object captures monophonic samples ..."

Atriace
  • 2,572
  • 1
  • 14
  • 27