Forums > MaxMSP

Bang if two lists match?

January 23, 2014 | 11:26 am

Hi folks,

The brain be non operational today.

Whats the best way to send a bang if two lists match?

<code>

– Pasted Max Patch, click to expand. –

</code>


January 23, 2014 | 11:28 am

Basically in the patch above I want to trigger an event when the hours/mins/seconds on the right matches the real-world time on the left.

Cheers!


January 23, 2014 | 11:44 am

There are several ways. zl.compare or match will do it.

– Pasted Max Patch, click to expand. –

January 23, 2014 | 12:51 pm

convert the time info into a single number, essentially you\’re counting seconds.

see example

– Pasted Max Patch, click to expand. –

January 24, 2014 | 7:43 am

Thanks guys, its the simple things.


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