[PD] how to detect if array has changed

Jack jack at rybn.org
Mon Dec 27 21:19:31 CET 2010


Look at the patch attached to this mail.
I think array in data structures is a most elegant way to do what you
are looking for.
++

Jack



Le lundi 27 décembre 2010 à 12:25 -0500, Ivica Ico Bukvic a écrit :
> On Mon, 2010-12-27 at 17:16 +0000, Pedro Lopes wrote:
> > Here's my point of view:
> > 
> > 
> > 1) Theres a million and one ways.
> > 
> > 
> > 2) If an array is changed by some pd-internal probably you can track
> > that down in the "changer patch", thus you can control and know it.
> > 
> > 
> > 3) Array comparison (as Jack noticed) is always possible, although
> > slower.
> 
> Thanks all for the reply. Forgot to mention critical part--all this
> detection should however happen when one is "drawing" the array by
> clicking with the mouse onto the array's points and dragging them to new
> positions. Hence, there is no "middleware" patch to speak of (other than
> what array inherently provides). Is there anything that may provide
> this?
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: compareArray.pd
Type: application/x-extension-pd
Size: 1238 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101227/734d3bc3/attachment.bin>


More information about the Pd-list mailing list