Microphone signal ..source

by guruk » Tue, 01 Sep 2009 04:09:49 GMT

Sponsored Links
i look for a very simple example what signal arrives at my mic in
It does not need to be saved to sd-card or anything.

Just a $vol=GetVolume   (0-xxxx)
$frequ=Getfrequ (0-28000)

something like that.

The Examples I found are just overloaded and mostly to record some
seconds to sd-card. I dont need that at all, just whats the signal
now arriving :)

thanks i advance

any snippet can help


Microphone signal ..source

by Josh » Thu, 10 Sep 2009 09:14:18 GMT

 Im looking for the same thing? Can anyone help with this?


Sponsored Links

Microphone signal ..source

by Rud » Thu, 10 Sep 2009 11:19:45 GMT

 What you are asking for is a non-trivial problem. To determine the
frequency of a signal you have to capture a number of samples. Whether
they go to a memory buffer or SD is a detail. You then need to perform
a Fast Fourier Transform (or similar transform for the pedantic ones)
to determine the frequency. The more samples you collect the more
accurate the result. You need more samples to (1) make a more fine
grade determination of the frequency and (2) to increase the signal to
noise ratio.



Other Threads

1. android:label

Hi, are we allowed to change android:label of AndroidManifest.xml via
program dynamically?

Thank you so much

2. Documentation Update


When will the documentation be Updated? Right now it says on the front
that you can download the Beta version of the SDK and get going. Even
though I've been through the documentation more than once, I'd like to
go through it cleanly as the 1.0 edition.

- Juan T.


3. BufferedReader.readLine() undocumentedly discards "#!" prefix

4. ContentHandler.startElement(..) and ContentHandler.endElement(..) won't be called in 1.0 rc1

5. Ksoap2 terminology

6. v0.9, TabActivity, communicate between tabs with intents.

7. Problem with Android SDK 1.0 when playing media