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 via the APIs provided by Apple.


I think there is some merit in this idea. There are already apps that measure wind speed using the iPhone microphone, and they are apparently quite accurate.

You could also incorporate face-recognition and human expression-analysis capabilities into this program in order to incorporate an environmental-impact assessment into you over all metric.

In a future release, you could measure the speed and acceleration with which other iPhone users are departing from the event instance, in order to determine an effective blast radius and strength.

Edit:

Since this is a project I think many people could get behind, I did a little more digging around. There is source code available for an iPhone application called aurioTouch, that seems to have most of what you want.

> The code uses: the AU Remote IO audio
> unit to get the audio input and copy
> it to the output the UI presents:
> - Oscilloscope view of the audio
> - time domain
> - frequency domain
> - Scrolling sonogram of the audio

There is some additional info on StackOverflow related to getting this working here:

aurioTouch sample app's audio playback/thru not working? AurioTouch & FFT for an instrument tuner

Good luck, and may the wind be at your back!