Simple mic volume

ok, this HAS been asked before, but the example and answer are incomplete for beginners such as myself.

What I need is a simple COMPLETE example of getting sound input from a mic. Trying to make a simple volume trigger. Any feedback appreciated!

Check the sound/audioInputExample that comes with OF.