thanks a lot. i'd worked it out, but it's helpful to get this clear explanation / overview. and i didn't know the [mod] thing.
Hallo, robbert van hulzen hat gesagt: // robbert van hulzen wrote:
dear all, i'm working on a little metronome abstraction (thanks for the link with the description of the inversion process, frank barknecht! hadn't sat down to dissect the rrad.metro yet), and i'm running into some trouble with [counter]: a 'low' creation argument doesn't seem to be accepted more than once. eg i want it to count from 1 to 5 (to be able to differentiate between downbeat and other beats): that works once, after that it starts counting up from 0 again. i worked around it in the way as shown in the patch below, but i'm wondering whether that's the right / only / most elegant way?
Maybe I should add a tip how to do counters to that Wiki page as well. Anyway I would recommend to not count with any [counter] external for two reasons: One is that there are several incompatible [counter] objects floating around the net. The other is that counting is really simple to do with standard Pd objects, once you understood how to do it. Attached tutorial may help with that.
Ciao