Hello, I am making an application for Android that will save users voice command and then while the application is running; compares the realtime data from the mic input to the one that is saved. So far I have saved the voice in wav file now I want to compare it to the input stream. I have applied FFT using this API as it is compatible with Android: http://code.google.com/p/musicg/ I dont know much about this api either but, I think the FFT data is stored in FrequencyTimeDomainRepresentation object. I searched on the internet and found out that I have to …

Member Avatar
+0 forum 0

While surfing the web I got to this site: [url]http://en.wikipedia.org/wiki/Fourier_series[/url] “Hey, I why not write something like this in C#!” The rather scary looking formulas did not withhold me to start coding (see below Fig. 1 and Fig. 2) The formula from Fig. 2 is hidden under one of the sawtooth pictures on the site. Here is the code I came up with. Start a forms application, drop a panel on the form in the designer and name it PlotPanel. Fill in or add the code below and enjoy. With the comments it should be clear what is done, otherwise …

Member Avatar
Member Avatar
+0 forum 3

The End.