Hi to all,

I have to do a small UI that display the spectrum band of an audio source (wav, or mp3). In order to to accomplish this work I used javax.soud library, and a class that computes FFT (made by me), but I don't know of to connect the stream got from the audio source to FFT algorithm. I mean, simply passing audio data (converting byte arrays from souce into integer array) into FFT do I will obtain the spectrum magnitude I'm searching for?