New project experiment, any help?

Myself and a couple of others are working on a flash project that involves taking and using sound data (via audio input microphone, guitar etc) to create images/colours. I was wondering if anyone could help us out at all telling me if this is even possible in AS 3.0 and if so would it be possible to carry this out in real time, or is there other ways to do this?