How to implement low pass filter using java

I have a page describing a very simple, very low-CPU low-pass filter that is also able to be framerate-independent. I use it for smoothing out user input and also for graphing frame rates often. http://phrogz.net/js/framerate-independent-low-pass-filter.html In short, in your update loop: // If you have a fixed frame rate smoothedValue += (newValue – smoothedValue) / … Read more

Show waveform of audio

Perhaps, you can implements this feature without libraries, of course if you want only visualisation of audio sample. For example: public class PlayerVisualizerView extends View { /** * constant value for Height of the bar */ public static final int VISUALIZER_HEIGHT = 28; /** * bytes array converted from file. */ private byte[] bytes; /** … Read more

Measuring Human-Flatulence Propagating Wave Packet on the iPhone

Take a look into FMOD and OpenAL fmod.org en.wikipedia.org/wiki/FMOD connect.creativelabs.com/openal/default.aspx en.wikipedia.org/wiki/OpenAL Being written in c/c++, both of these libraries can easily be linked against standard iPhone code to be compiled against the ARM architecture of the iPhone. They are both capable of extracting the information you require from the audio stream of the iPhone’s microphone … Read more