Microphone signal ..source

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


Sponsored Links
 Hi,
i look for a very simple example what signal arrives at my mic in
realtime.
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
right
now arriving :)

thanks i advance

any snippet can help

chris
--~--~---------~--~----~------------~-------~--~----~



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.

Rud




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Downloading Android

I just had serious problems in downloading the Android Plugin as well
as the Google Apps Engine Plugin for Eclipse using "Eclipse Classic
3.4.2 (152 MB)". I think there's an issue with WST, but it's not clear
how to download it to get that dependency. It's really messed up. I
downloaded "Eclipse IDE for Java Developers (85 MB)" with all the
dependencies installed and everything including Android installed
quickly and cleanly.

Perhaps "Eclipse IDE for Java Developers (85 MB)" should be the
recommended version. The other one may be a brick wall for some
people.


- juan T.
--~--~---------~--~----~------------~-------~--~----~

2. Could not find AVD file

Hi, I am using eclipse with ADT plugin to develop an Android app, the
problem is I could not find a AVD file in the run configuration ->
Android application->target. I've created a AVD following the steps on
the Android website which is located in the default directory C:
\Documents and Settings\xxx\.android\avd, but it can find the AVD file
in the run configuration -> Android JUnit Test -> target, could you
explain it? thanks

--~--~---------~--~----~------------~-------~--~----~

3. Hardware profiles / requirements

4. Duplicated text when using .append in widgets

5. MapView showing as black screen after upgrade to 1.5

6. why in emulator, "/dev/eac" is connected with the audio?

7. Can I put something into the ScrollView of WebView?