Stop the clock?

cakeweek's icon

I'm looking for a way to get a countdown off of a [counter] and then get it to stop, essentially start the counter at 10, and then stop it a 0...I have tried a couple of methods using a toggle triggering the [metro] driving the counter to shut off but this seems kind of ginchy. Just starting out, somewhat Max/Jitter literate, but sould use some help.

AudioLemon's icon

I didn't bother using counter but you could of course just get the numbers out of counter invert the range and then use either [sel 0] or [== 0] to turn off the counter.

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

cakeweek's icon

Thanks! Will plug this in an see how it works!

cakeweek's icon

I think the solution I am looking for is a little more complex than I thought...essentially I am using this "countdown" object in a slideshow in which I want an image in a jit.matrix to appear, stay on screen for an interval, and then fade out. This would also need to reset to it's original state. I think what you sent will help, and I'm going to keep trying but if you have other suggestions please help!

AudioLemon's icon

I cannot help with the Jitter but I made something a little simpler maybe and it does the clocking bits you want at least.

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

Roman Thilenius's icon
AudioLemon's icon

Ha brilliant Roman - straight to the point :) They don't have that in PD so I got used to the other way. Cheers.