m4l tempo synced counter

Blair's icon

How could I create a tempo synced counter in max 4 live that would count from 0 to 1 every bar, that would still run when a song is not playing but as soon as a song plays in ableton the counter jumps back to 0?

double_UG's icon

Please provide at least 10 characters

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

Blair's icon

this works great! What do the two 0s do? and how would I change the speed with a live.tab like this? I tried this setup but it didnt work

a

double_UG's icon

https://docs.cycling74.com/max5/vignettes/core/maxtime_syntax.html

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

Blair's icon

works like a charm thanks matey