MOVED: how to program arduino to deal with analog signal pattern in real time?

This topic has been moved to Project Guidance.

http://forum.arduino.cc/index.php?topic=169438.0