01-29-2009, 02:45 AM
I'm trying to write an application using flex and actionscript where a user speaks into a microphone and as they speak into the microphone the waveform of the sound wave is dynamically displayed. I want the user to be able to see the waveform they are creating while they are creating it. If anyone knows how this might be possible, please let me know. I know about the microphone class in flash.media but it doesn't give you direct access to the waveform data. The soundmixer class can give you access to the waveform information using the computeSpectrum() method but only for sound coming from the server. I want everything to run on the client side because I want as little lag time between the user speech and displaying the waveform as possible.