make a javascript /html5 canvas that sends out through javaudp messages about the data being edited. or better yet skip the htmlhavascript and just do it with java.<br><br><div class="gmail_quote">On Mon, Mar 12, 2012 at 9:19 AM, Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, 2012-03-08 at 09:38 -0800, Jonathan Wilkes wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: Roman Haefeli &lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;<br>
&gt; &gt; To: pd-list &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
&gt; &gt; Cc:<br>
&gt; &gt; Sent: Thursday, March 8, 2012 8:30 AM<br>
&gt; &gt; Subject: Re: [PD] [table] update notification<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, 2012-03-07 at 09:15 -0800, Jonathan Wilkes wrote:<br>
&gt; &gt;&gt;  Pd-l2ork has a feature where you can [r &quot;arrayname_changed&quot;]<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  and you&#39;ll get a bang when the array is modified with the mouse.<br>
&gt; &gt;<br>
&gt; &gt; That&#39;s nice feature of Pd-l2ork.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;  If you want a notification when using tabwrite/etc., well, when those<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  objects receive a message to update the array, just manually send<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  a bang to &quot;arrayname_changed&quot; when this happens.<br>
&gt; &gt;<br>
&gt; &gt; Yeah, you&#39;re totally right. If I&#39;d build a self-enclosed patch, this<br>
&gt; &gt; wouldn&#39;t be an issue. The goal here is to create an abstraction able to<br>
&gt; &gt; keep an instance of a table in sync over network. I would like to avoid<br>
&gt; &gt; to design it in a way, that forces the user of the abstraction to<br>
&gt; &gt; actively notify it about changes. And since I also want to track manual<br>
&gt; &gt; edits, I need some kind of a watchdog anyway. So  I still go for the<br>
&gt; &gt; watchdog solution, until the Pd-l2ork features make into Pd.<br>
&gt;<br>
&gt; Can you guarantee that [tabsend~] will never be sending to that array?<br>
<br>
</div>Good point. The abstraction is actually designed and optimized to cover<br>
sporadic changes in parts of an array. It cannot and should not be used<br>
to transmit full audio streams over network. I put some arbitrary<br>
limits: Detection for changes occurs only every 100ms, the maximum size<br>
of the table to be synchronized is 2048 elements.<br>
<div class="HOEnZb"><div class="h5"><br>
Roman<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>