We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › Arduino Sensor Input Fine-Tuning Grapher
Page Index Toggle Pages: 1
Arduino Sensor Input Fine-Tuning Grapher (Read 1257 times)
Arduino Sensor Input Fine-Tuning Grapher
Jun 15th, 2008, 5:20am
 
Screenshot:
http://jeffrey-lin.com/temp/arduino_sensor_graph_rc1.jpg

Code:
http://jeffrey-lin.com/temp/arduino_sensor_graph_rc1.zip

So lately I've been trying to get piezos hooked up to my Arduino to output midi messages to trigger drums. Luckily, there's the firmata protocol for the arduino (http://www.arduino.cc/playground/Interfacing/Firmata) that works with processing (http://www.arduino.cc/playground/Interfacing/Processing) to make life much easier.

However, that led to me wanting to filter my arduino's analog inputs to prevent double hits, etc... so I made this dandy arduino input monitoring script so I could work out the kinks in my project

This is really the first time I've used java/processing/arduino (lots of firsts!) so please point out any bad coding habits/etc... that you notice =] any suggestions or feature requests will also be looked at, but no guarantees - hopefully i'll add things like:

*multiple sensor graph overlays
*a real-time filtering/mapping section
*peak analysis / integration to determine "velocity" (to use a midi term)
*a midi output mapping system

Re: Arduino Sensor Input Fine-Tuning Grapher
Reply #1 - Jun 15th, 2008, 5:22am
 
oh - don't forget to install Firmata on the arduino and update your processing libraries too:
http://www.arduino.cc/playground/Interfacing/Firmata
Page Index Toggle Pages: 1