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"><<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>></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>
> Hi<br>
><br>
> Rough approach : you could compare your array with the reference array<br>
> by playing once from time to time the two simultaneously, sum (the<br>
> first) and (the second *-1) and check with env~ that you still get<br>
> nothing at the output.<br>
><br>
> my 5*10^-7 cents.<br>
<br>
Yeah, that's what I meant with comparing them in the audio domain. It'll<br>
probably be a bit more efficient than the message domain comparison.<br>
I'll have to find out. Thanks for your suggestion.<br>
<br>
Roman<br>
<br>
<br>
> On 07/03/2012 09:55, Roman Haefeli wrote:<br>
> > Hi all<br>
> ><br>
> > Is there a way to be reliably notified when a table/array changes? My<br>
> > hope is that I don't know of some hidden feature. Is there any?<br>
> ><br>
> > It's easy to catch messages sent to [s arrayname]. However, it's not so<br>
> > easy when data is written through [tabwrite arrayname] or [tabwrite~<br>
> > arrayname] or if the data is drawn manually.<br>
> ><br>
> > My current solution is quite a CPU hog: The whole table is scanned in<br>
> > periodic intervals and compared to a reference table, so that any<br>
> > difference will be caught. Of course, this solution comes with a latency<br>
> > (it's a trade-off between avoiding latency and saving CPU cycles).<br>
> > Probably, it could be a wee bit less CPU hungry to make the comparison<br>
> > in the audio domain instead of the message domain, but still it's<br>
> > work-around.<br>
> ><br>
> > Is there a real solution for this around?<br>
> ><br>
> > Roman<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> > UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
> ><br>
><br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br>