CopyPasta'd this from : http://blog.makezine.com/2012/09/24/protodrom-prototyping-with-pure-data-and-processing/
See the link for full text!

OK, before grabbing the code examples, first you’ll need a few things:

Processing. I’m using Processing 2 Beta 3. http://processing.org/
Pure Data. You’ll want the “vanilla” version, not Pd-extended. I am using Pure Data 0.43.2. http://puredata.info/downloads/pure-data
Processing Libraries. Copy these to your libraries folder; see respective sites for installation instructions.
libPd for Processing: Unpack pdp5.zip into your Processing libraries folder https://github.com/libpd/puredatap5
controlP5: For GUI elements http://www.sojamo.de/libraries/controlP5/
oscP5: To integrate P5 and OSC http://www.sojamo.de/libraries/oscP5/
You’ll also need an app on your mobile device capable of sending OSC messages. TouchOSC ( http://hexler.net/software/touchosc ) and TB Midi Stuff ( http://www.thiburce.com/TBStuff/?page_id=664 ) are popular options that will let you customize the OSC messages sent.

Once you have everything installed, run some examples included with the Processing libraries to make sure everything is working properly.

And then check out the DR-OM tutorial code that I’ve uploaded to GitHub:
https://github.com/s3g/protodrom.

Here’s what you’ll find:

Drom tutorial 1: A Processing sketch that demonstrates the basics of sending messages to your Pd patch in conjunction with the controlP5 library.
Drom tutorial 2: A Processing sketch adding OSC communication to the first tutorial using oscP5.
Drom tutorial 3: A Processing sketch for one of the synths. Export your own standalone for best performance.
A TB Midi Stuff template with the OSC controls all set up.

from Shawn Greenlee ( http://shawngreenlee.com/ )

Another two tutorials if you need to compile the libraries
https://www.gitorious.org/pdlib/pages/PureDataP5
http://mgmartwarehouse.blogspot.com/2011/04/compiling-libpd-as-processing-library.html

This is also helpful for Beads, MidiBus, Minum, OscP5, and PureDataP5
http://krazydad.com/processing_music/