looking for a way to reset, start/stop [counter] object - or alternative object
I am wanting to set up a series of [counter] objects, whereby when one reaches a certain value it produces a bang which starts another counter and so on - a bit like a domino effect. Could someone help me determine whether you can start/stop [counter] objects? Or suggest another object which offers these features? I also want to be able to start/stop the counter on demand - at any point in time.
I have included a patch which includes a counter which produces a bang after a specified period, I would like this bang to then trigger another counter which carries out the same process.
The counting mechanism is burried within the patch - so I included the whole thing - but the bit I am talking about is very clearly labelled.
HI.
maybe this helps.
Best
hi,
maybe [clocker], or even [tempo] will fit your needs more precisely
Thanks, I will try that. I am using a [phasor~] object as my main timing source - and ideally any counting device would have the option of being controlled by the [phasor~].
I tried the method Helmuth suggested, however, it seems not to allow you to reset, start/stop the counter at determined points in time - it just provides a means of automatically switching itself off after it has counted to its argument.
I will experiment further with these suggestions. Thanks for the help so far!
the inlets and messages available to [counter] should do everything you need, if you hook them up right. like min, max, setmin, jam, these all do different things. For stopping and starting, well, counter isn't automatic, it needs bangs. so to stop, you need to stop the metro source instead, maybe by a condition (counter reached maximum, or use select below to do that).
you can also use
[counter]
[% 4]
[sel 0]
will bang every 4 ticks, regardless of where the counter is. This way you can have multiple "clocks" going which count cyclically rather than linearly.