Hi,<br><br><br><div class="gmail_quote">On Sat, Aug 15, 2009 at 8:46 PM, Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On Sat, 15 Aug 2009, Frank Barknecht wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


i saw a tutorial on using mxj.<br>
This is what i want to do:  get data from PD and send it to another java<br>
application which is waiting in the background. Is this possible using<br>
mxj/pdj ?<br>
</blockquote>
It&#39;s possible even without pdj: Just use a network connection to send the data<br>
along.  Either make one up with netsend in Pd and some socket programming in<br>
Java, or use the OSC standard, where you might even find some ready made Java<br>
libraries.<br>
</blockquote>
<br></div>
The big difference is whether you want your java app to insert itself in the message stack or not: if you use pdj, your java app can send messages before the message to pdj is considered done with. This is depth-first execution. But if you have a [netsend] to talk to a java app and a [netreceive] to receive the replies, ... a [netsend]/[netreceive] pair counts as a kind of [delay] of some unspecified amount.</blockquote>

<div><br>i  didnt get this part:::--&gt; <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> thus the messages to [netsend] are considered dealt with much before the app really does anything with them.<br>


<br>
So if you really need depth-first execution order, you have to use pdj.</blockquote><div><br>i think you guys will be best to judge if i explain my application: I have to run pd+gridflow and then run the program multiblob-for-gridflow. then take the data(centres of the crosses obtained, extent of blob and other data) to a java application(whose purpose is to collect this data from pd .) The java app is on teh same machine, so how do i use [netsend]?<br>

<br>thnks for your time,<br>Sisil.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><font color="#888888">
<br>
 _ _ __ ___ _____ ________ _____________ _____________________ ...<br>
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec</font></blockquote></div><br>