Making a clock that matches the actual time?

Lauren's icon

Hello,

I'm doing an installation, and I want to sync an element of my patch to have a chime go off on the hour every hour.

I looked through the documentation and found a clock example in the cpuclock help file. I started the metro, but evidently the CPU clock time doesn't match the actual time. Actually, it's not even close. You can see in the screenshot that the patch is saying it would be 12:17 (a little after midnight), when it's really 10:53.

The math inside the subpatch all to convert ms to hours, minutes, seconds all looks okay.

Does anybody know of another way to create a real clock with a different object, or how to use this one in a different way?

Thanks!

clock.png
png
hz37's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Regularly poll the [date] object?

Lauren's icon

That'll do it! Gives me the correct time to match. :) Thanks!