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