How to sync ms and min:sec:msec inputs with carry-over in Max?

Teppei Sengoku's icon

Hi,

I want to create a counter console. For example, if I pause the playback midway and manually change the min/sec/mili sec number box, or change the "unité ms" number box, I want them to change in sync with each other, so that I can specify the playback point from either side. Also, currently, even if I move the mili sec number box in the min/sec/mili sec section, it doesn't move within the range of 0-999, nor does it increment the value in the sec number box. How can I create a structure where, if I raise mili sec after 999, milisec becomes 0 and sec becomes 1, and if sec is 59, it becomes 0 and min becomes 1? Please give me your opinion.

Untitled40.maxpat
Max Patch


Source Audio's icon

I would suggest you use something like this:

to enter anything into mm:ss:ms numboxes

and keep min sec ms range

you will need some complex interaction between them.

and hidden input elements.

better give it up.