<p>Not sure why you are getting repeated messages. You shouldn&#39;t, but then again I am not sure how your patch works.</p>
<p>HTH</p>
<div class="gmail_quote">On Sep 22, 2012 1:17 PM, &quot;Scott R. Looney&quot; &lt;<a href="mailto:scottrlooney@gmail.com">scottrlooney@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i had no idea that TCP/UDP based objects sent with different formats. anyway, changing to netreceive/netsend did the trick! thanks. i have downloaded the disis network objects, but i&#39;m not sure how to compile these on a Mac using Xcode. i&#39;ll research it for now.<div>

<br></div><div>one other thing - analyzing a typical netreceive command for the Cube rotation i notice i got 50+ messages for just clicking one time only the &#39;Cube r 0 1 0&#39; sending message (with the metro turned off). i remember the docs mentioning about the message queue being capped at 100 and being adjustable. just wanted to confirm if the repeated copies of (in this case) rotation values for a single click were explained by queue length, or by using standard netsend and netrecieve instead of the DISIS objects. would definitely like to limit the amount of times a duplicate value was sent from Unity if needed.<br>

<br>scott<br><br><div class="gmail_quote">On Sat, Sep 22, 2012 at 8:16 AM, Ivica Ico Bukvic <span dir="ltr">&lt;<a href="mailto:ico@vt.edu" target="_blank">ico@vt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

You need to use netsend/receive (or better yet disis_netsend and disis_netreceive that include a number of fixes including stability improvements that prevent pd-gui freezes)cas the network messages done via Martin&#39;s externals are translated to FUDI format while netsend/receive aren&#39;t.<br>


<br>
As a test you may want to build a simple network client and compare what you&#39;re getting when sending using Martin&#39;s vs. disis externals...<div><div><br>
<br>
On 09/22/2012 06:32 AM, Scott R. Looney wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi Ivica and list,<br>
<br>
i&#39;m trying to set up the DISIS Max to Unity (mu) communication over TCP/UDP in PD-extended and i can&#39;t get it to work. it should be really basic. i&#39;ve tried it using udpsend/udpreceive and tcpsend/tcpreceive. both return a &quot;Object Not Found&quot; error when it tries to control the rotation on the Cube object.<br>


<br>
out of curiosity i checked the message being sent by Max and the one by PD and as far as i can tell they are totally identical - each one sends the message &quot;send Cube r 0 1 0&quot; but the one from Max sends the message correctly - the one from PD doesn&#39;t. both programs indicate that the connection has been established and i did not operate them both at the same time, as that would of course lead to conflicts.<br>


<br>
the only difference i&#39;ve encountered so far is that the mu example uses netsend and netreceive objects. there are similar objects available for PD but they don&#39;t work with a high port number (over 32000). i can change the Unity Script to look for a lower port number but as if i remember netsend and netreceive did not function well in PD which is why everyone recommended Martin Peach&#39;s objects.<br>


<br>
anyway i can send examples if interested, but it&#39;s really a simple patch, and as far as i can tell the scripts in Unity are looking for any data coming over the port number - they shouldn&#39;t care about whether they are looking for data coming out of Max or PD specifically. i&#39;m just talking about the simple rotation demo, not the more complex jitter texture control.<br>


<br>
if anyone&#39;s got a clue as to where to start looking let me know.<br>
<br>
thanks,<br>
scott<br>
</blockquote>
<br>
<br></div></div>
-- <br>
Ivica Ico Bukvic, D.M.A<br>
Composition, Music Technology<br>
Director, DISIS Interactive Sound &amp; Intermedia Studio<br>
Director, L2Ork Linux Laptop Orchestra<br>
Head, ICAT IMPACT Studio<br>
Virginia Tech<br>
Department of Music<br>
Blacksburg, VA 24061-0240<br>
<a href="tel:%28540%29%20231-6139" value="+15402316139" target="_blank">(540) 231-6139</a><br>
<a href="tel:%28540%29%20231-5034" value="+15402315034" target="_blank">(540) 231-5034</a> (fax)<br>
<a href="http://disis.music.vt.edu" target="_blank">disis.music.vt.edu</a><br>
<a href="http://l2ork.music.vt.edu" target="_blank">l2ork.music.vt.edu</a><br>
<a href="http://ico.bukvic.net" target="_blank">ico.bukvic.net</a><br>
<br>
</blockquote></div><br></div>
</blockquote></div>