Reputation: 1881
I am using the answer from the StackOverflow question "J2ME/Blackberry - get audio signal amplitude level?" for recording audio. But I am unable to analyse the audio in real time. I can get the byte array after recording is stopped, but I want to graph the data as it is recorded.
Upvotes: 1
Views: 211
Reputation: 8920
Real time processing in Java is problematic but possible. You could have a look at my Google Code project which takes audio input, computes an FFT and displays the spectrum on the screen. It isn't fancy, but it does work. I'm sure you can work out how to measure audio amplitude in lieu of the FFT.
Upvotes: 2