Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want a VU meter web app which can detect sound levels from my system's mic. Any suggestions?

share|improve this question

closed as off topic by slhck Dec 20 '12 at 13:04

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

With Flash Actionscript 3 you can do it like so:

addEventListener(Event.ENTER_FRAME, onEnterFrame); 
private function onEnterFrame(ev:Event):void
   activityLevel.setProgress(myMic.activityLevel, 100);

Where activityLevel is a progressbar object and myMic is the mic. And add the event listener on the constructor of the class.

share|improve this answer

Why do you want it?

It could be done very easily in Flash, just a couple lines of code. Don't know of any offhand that are already written for you.

Here's a very simple example, written in AS2 (Actionscript 2)

Create a box on the stage with the instance name 'box_mc'. Place this code on the stage.

myMic = Microphone.get();

_root.onEnterFrame = function() {
    box_mc._yscale = myMic.activityLevel;

The box should get bigger and smaller depending on the sound level.

share|improve this answer
want it to aid accessibility in browsing – iceman Jan 11 '10 at 9:39
any hints how it can be done in Flash? – iceman Jan 11 '10 at 18:37
edited my answer with a very simple example – davr Jan 15 '10 at 17:29

Not the answer you're looking for? Browse other questions tagged .