Compare two messages, bang if different

dcwj's icon

I have a message object that is being changed every six seconds. The text that is being fed into it doesn't change very often though (it's reading tweets). I want to output a bang when the message text changes, but not every time the message is read, because the same text is inputted over and over again.

THOR.maxpat
Max Patch
hz37's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You can do something like this with [zl.compare]:

LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

or with [zl.change]

hz37's icon

Beautiful, LSKA. Learned something new!

dcwj's icon

Thanks so much! I looked in zl but obviously not hard enough. Can't believe it was that easy.