aboutsummaryrefslogtreecommitdiff
path: root/www/index.html
blob: 219bed272baa3c96250fb5ba5e838ea68f9a07bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>java plug-in for pure-data</title>
	</head>
	<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<body>
<h1><img src="pdj-logo.png" alt="pdj-logo" align="middle"> java
external plugin for pure-data</h1>
<p>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.</p>
<p>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.</p>
<h2>Is it compatible with mxj on Max/MSP ?</h2>
<p>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.
</p>
<h2>How does it looks ?</h2>
<p>This overview :
<pre>import com.cycling74.max.*;<br><br>public class help_class extends MaxObject {<br><br>	public help_class() {<br>		declareOutlets(new int[] { DataTypes.FLOAT, DataTypes.ALL });<br>	}<br>	<br>	public void inlet(float x) {<br>		outlet(0, x);<br>	}<br>	<br>	public void bang() {<br>		outlet(1, "BANG! received");<br>	}<br>	<br>	public void callme(Atom args[]) {<br>		outlet(1, "callme has called with arg1:" + args[0].toString());<br>	}<br><br>	public void dynamic_method() {<br>		outlet(1, "dynamic_method has been called");<br>	}<br><br>}<br></pre>
Looks like this: <br>
<br>
<img alt="pdj-help example" src="pdj-help.png">
</p><p>Please see the <a href="api/index.html">javadoc</a> for more information.</p>
<h2>How to write pdj externals:</h2>
<p>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.</p>
<h2>Requirements:</h2>
<li><a href="http://www-crca.ucsd.edu/%7Emsp/software.html">pure-data</a>
0.38.x or better</li>
<li><a href="http://java.sun.com">java jdk</a> 1.4.x or better; <i><b>use java 1.5 !!!</b></i></li>
<li><a href="http://ant.apache.org">apache ant</a> 1.5.x or better for
building</li>
<li><b>works on linux, os x (tested on 10.4) and windows</b></li>
<h2>Download:</h2>
<p>Download latest release here: <a href="pdj-0.8.3.tar.gz">pdj-0.8.3.tar.gz</a>
/ <a href="pdj-0.8.3-win32.zip">pdj-0.8.3-win32.zip</a>
(September 9 2006)
</p>
<small>Contact: asb2m10 .at. users.sourceforge.net</small>
</body>
</html>