I’m making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, any idea how can i get the data?
I’m making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get
Share
You’ll need to be using Flash Player 10 as I think that’s the first time you actually got access to to the Microphone apis.
Then there’s a simple function you can call which will get the microphone data:
I usually call the computeSpectrum code in an enter frame handler and draw out the wave form from there.
Edit: I don’t want to mislead you. I think the above code is for a pre-recorded audio file. If you want to user the microphone in flash 10. You do it like this: