From a764e59e1d3a8e330f0d484fdb26b35ca3f0b2e4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 22 Mar 2008 02:15:12 +0000 Subject: bringing pdj-0.8.3 into the main branch svn path=/trunk/externals/loaders/pdj/; revision=9621 --- www/index.html | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ www/pdj-help.png | Bin 0 -> 23617 bytes www/pdj-logo.png | Bin 0 -> 1420 bytes www/stylesheet.css | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 www/index.html create mode 100644 www/pdj-help.png create mode 100644 www/pdj-logo.png create mode 100644 www/stylesheet.css (limited to 'www') diff --git a/www/index.html b/www/index.html new file mode 100644 index 0000000..219bed2 --- /dev/null +++ b/www/index.html @@ -0,0 +1,49 @@ + + + + java plug-in for pure-data + + + +

pdj-logo java +external plugin for pure-data

+

PDJ enables you to write java code to interact with pure-data +objects. The +API is totally based on Cycling74 Max/MSP 'mxj' object implementation. +This will enable java mxj objects to run on pure-data with pdj.

+

This is a work in progress and some features are missing and some +might not even be ported. I am trying to do my best to release soon and +often! If you find any bugs feel free to contact me.

+

Is it compatible with mxj on Max/MSP ?

+

On the I/O level it is. Anything that deals on receiving/sending atoms +will try to match extact mxj behavior. Off course, mxj is acting like a +reference implementation. The API complience is based on Max/MSP 4.5.5 with +MSP signal support. +

+

How does it looks ?

+

This overview : +

import com.cycling74.max.*;

public class help_class extends MaxObject {

public help_class() {
declareOutlets(new int[] { DataTypes.FLOAT, DataTypes.ALL });
}

public void inlet(float x) {
outlet(0, x);
}

public void bang() {
outlet(1, "BANG! received");
}

public void callme(Atom args[]) {
outlet(1, "callme has called with arg1:" + args[0].toString());
}

public void dynamic_method() {
outlet(1, "dynamic_method has been called");
}

}
+Looks like this:
+
+pdj-help example +

Please see the javadoc for more information.

+

How to write pdj externals:

+

Edit your .java in the /classes directory (in the pdj home) with your +favorite editor. Type the name of the .java file (without the extension) +into the pdj object argument. If pdj finds out that the .java is younger +than the .class, pdj will compile it for you.

+

Requirements:

+
  • pure-data +0.38.x or better
  • +
  • java jdk 1.4.x or better; use java 1.5 !!!
  • +
  • apache ant 1.5.x or better for +building
  • +
  • works on linux, os x (tested on 10.4) and windows
  • +

    Download:

    +

    Download latest release here: pdj-0.8.3.tar.gz +/ pdj-0.8.3-win32.zip +(September 9 2006) +

    +Contact: asb2m10 .at. users.sourceforge.net + + diff --git a/www/pdj-help.png b/www/pdj-help.png new file mode 100644 index 0000000..d384b2b Binary files /dev/null and b/www/pdj-help.png differ diff --git a/www/pdj-logo.png b/www/pdj-logo.png new file mode 100644 index 0000000..5930dfa Binary files /dev/null and b/www/pdj-logo.png differ diff --git a/www/stylesheet.css b/www/stylesheet.css new file mode 100644 index 0000000..6ddda95 --- /dev/null +++ b/www/stylesheet.css @@ -0,0 +1,35 @@ +body { + margin:5px; + padding:5px; + background-color:white; + font-size : 11px; + font-family : verdana, arial, helvetica, sans-serif; + width: 785px; + color:black; + } +h1 { + font-size : 28px; + padding:5px; + border:1px dashed black; +} + +h2 { + font-size : 16px; + padding:2px; +} + +h3 { + font-size : 16px; + padding:2px; +} + +a { + color:#09C; + font-size:11px; + text-decoration:none; + font-weight:600; + font-family:verdana, arial, helvetica, sans-serif; + } +a:link {color:#09c;} +a:visited {color:#07a;} +a:hover {background-color:white;} -- cgit v1.2.1