Bang if two lists match?

conorb's icon

Hi folks,

The brain be non operational today.

Max Patch
Copy patch and select New From Clipboard in Max.

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

conorb's icon

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!

metamax's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

timBijnen's icon

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

see example

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