Create flex sensor 

arduino.cc/en/Tutorial/Midi‎
http://arduino.cc/forum/index.php/topic,22447.0.html