I have had great success with the Java port of FFTPACK: 
http://www.netlib.org/fftpack/

-shawn

Shawn Van Every
Author: Pro Android Media (Coming Late 2010)
http://apress.com/book/view/9781430232674

On Sep 15, 7:03 am, Indicator Veritatis <[email protected]> wrote:
> Well, it depends on how many different frequency bins he wants and how
> complicated a windowing function. If he wants lots of bins and a fancy
> window, he will wish he had direct access to the DSP on the phone as
> well as raw audio.
>
> Otherwise, he can get a lot of mileage out of an FFT algorithm even in
> plain Java. Processors are so much faster these days, even on a phone.
>
> On Sep 14, 3:30 am, Tez <[email protected]> wrote:> AudioRecord API.
> > Using this you can get raw bytes from the microphone stream.
> > Since you are analyzing audio, this is a heavy operation. You may want
> > to consider the NDK.
> > However, you cannot access the audio APIs from the NDK. You may have
> > to write a JNI wrapper to transfer byte streams.
>
> > Cheers,
> > Earlence
>
> > On Sep 14, 12:19 pm, Muhammad Ali <[email protected]> wrote:
>
> > > Hi All,
>
> > >     I am new for multimedia in java and I am going to develop an
> > > application which can analyze the sound spectrum. I don't know how to
> > > get a real time sound from the mic of the android and analyze it. If
> > > someone know about any API and method that how to get real time sound
> > > and get the values of its spectrum please help me, I am very thankful
> > > you for your precious time.
>
> > > Yours,
> > > Ali

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to