Poorman's oscilloscope (with Arduino + Processing) AND Arduinoscope
If you are looking for visual representation of an analog signal using Arduino and Processing then you might download these skecthes.
The if you are looking for a more rieliable and debugged sketch / program doing preatty much the same thing, then the Arduinoscope if for you.
Try both. Customize. Enjoy.