Forums > MaxMSP

Block Data Object

August 31, 2008 | 10:12 am

I am trying to find an object in max which which analyses the data entering the object, and only lets the data exit, when the values change. I imagine i sound pretty dumb, as it sounds like a basic logical test.

The data entering said object would be 3 packed integers where only one of the integers is ever changing. I nheed to basically filter out repeat messages.

Can anyone suggest a simple way of doing this.
Thanks

JB


August 31, 2008 | 11:02 am

Here is a way to filter out repetitions of a list.

lh

– Pasted Max Patch, click to expand. –

August 31, 2008 | 11:15 am

Hello..

What about the [zl change] object. That outputs the incoming list only if its different from the previous one.


August 31, 2008 | 1:20 pm

Thanks a lot guys. The zl change object got me thinking, but it didn’t seem to work, dunno if it was the way i was using it, so i just tried ‘change’ and used it earlier in the patch (before the data became a list) now it works perfectly. Thanks for all your help..
jb


August 31, 2008 | 4:56 pm

On Aug 31, 2008, at 3:12 AM, Joe wrote:

> Can anyone suggest a simple way of doing this.

zl change

-C

Chris Muir
cbm@well.com

http://www.xfade.com


Viewing 5 posts - 1 through 5 (of 5 total)