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:
Theres a million and one ways.
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.
- 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?