Off hand it looks like you can get microphone input with the "user media" object. When you get it you use a tag that can be used with the audio object. Then you can add the audio analyzer effect to that tag and get frequency data and such. There's an example of using the analyzer effect included with c2.
That should be enough to get you started. A working example would have to wait till someone has time to make one.