The Unofficial Apple Webblog has a nice piece about the range of iPhone apps out there to turn the iPhone/iPodTouch into a control surface for AV software like Logic, Max/MSP, etc.
I did a post a while back showing the possibilities to control Motion with some basic MIDI software, but the available applications have come a long way since then.