I'm trying to make a simple counter which incriments once every capytalk tick. I don't want to use ramp as that requiers scaling up and is time dependant and sample rate dependant and I want it more direct (one tick = one increment). I've attached my attempts but it just seems to be tottaly random for no apparent reason.
Counter Bug type A is using accumilateWhile: initialValue: reset: but it gives random no step or multiple steps. I then tried
Counter Bug B which made use of STGC and adding one to the previous !count value. This is better as it does count only by one but not every time and randomly misses out counts.
Counter Bug C goes back to accumilate function but uses a bigger range and we can see that it's not linear and is exponetial for some reason.
Counter Bug D uses the raw accumilate funtion with no arguments and we can see that that version is linear at least, but.......
Counter Bug E zooms in on Counter Bug D and shows it's still missing the occational incriment.
Is there a way to gaurentee a simple one tick one increment counter?