How about using [tabreceive~] with properly set blocksize in a subpatch? Never tried it though.<br><br>Pierre.<br><br><div class="gmail_quote">2012/3/7 Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 2012-03-07 at 14:37 +0100, batinste wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; Rough approach : you could compare your array with the reference array<br>
&gt; by playing once from time to time the two simultaneously, sum (the<br>
&gt; first) and (the second *-1) and check with env~ that you still get<br>
&gt; nothing at the output.<br>
&gt;<br>
&gt; my 5*10^-7 cents.<br>
<br>
Yeah, that&#39;s what I meant with comparing them in the audio domain. It&#39;ll<br>
probably be a bit more efficient than the message domain comparison.<br>
I&#39;ll have to find out. Thanks for your suggestion.<br>
<br>
Roman<br>
<br>
<br>
&gt; On 07/03/2012 09:55, Roman Haefeli wrote:<br>
&gt; &gt; Hi all<br>
&gt; &gt;<br>
&gt; &gt; Is there a way to be reliably notified when a table/array changes? My<br>
&gt; &gt; hope is that I don&#39;t know of some hidden feature. Is there any?<br>
&gt; &gt;<br>
&gt; &gt; It&#39;s easy to catch messages sent to [s arrayname]. However, it&#39;s not so<br>
&gt; &gt; easy when data is written through [tabwrite arrayname] or [tabwrite~<br>
&gt; &gt; arrayname] or if the data is drawn manually.<br>
&gt; &gt;<br>
&gt; &gt; My current solution is quite a CPU hog: The whole table is scanned in<br>
&gt; &gt; periodic intervals and compared to a reference table, so that any<br>
&gt; &gt; difference will be caught. Of course, this solution comes with a latency<br>
&gt; &gt; (it&#39;s a trade-off between avoiding latency and saving CPU cycles).<br>
&gt; &gt; Probably, it could be a wee bit less CPU hungry to make the comparison<br>
&gt; &gt; in the audio domain instead of the message domain, but still it&#39;s<br>
&gt; &gt; work-around.<br>
&gt; &gt;<br>
&gt; &gt; Is there a real solution for this around?<br>
&gt; &gt;<br>
&gt; &gt; Roman<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt; &gt; 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>
&gt; &gt;<br>
&gt;<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>
</blockquote></div><br>