Hi there,
Is it possible to know how many times a list or a number occurs in a cycle?
For example I want to count the number of active blob with pix_multiblob... how to do it?
Thanks!
Count the number of looped events
Hi there,
Is it possible to know how many times a list or a number occurs in a cycle?
For example I want to count the number of active blob with pix_multiblob... how to do it?
Thanks!
hmmm, no exactly.
For example I have [1 2 3 4 5( and [6 7 8 9 10( in a loop, I want the object to output 2 because I can see 2 different messages.
I can do it also from an integer like:
[metro 40]
|
[1, 2 , 3, 4, 5 (
|
[wonderful_object]
|
[5\
how's this?
edit again: nope, let's see if this one works
edit again again: here's the other fer kicks
how's this?
edit again: nope, let's see if this one works
edit again again: here's the other fer kicks
perfect!
Thank you, difflist is what I was searching for!
hmmm...
I think I am stuck again because I need to know if the atoms numbers are repeated or not in order to reset the object and trigger the result for every new cycle...
I didn't know that process could be so complex!
I don't have GEM cause i'm using the OSX 64 bit build so im not sure what you need... inlist tells you how many of an atom there are, you could trigger it with the atom you're curious about and if the output is > 1 retrigger?
For example, I receive the continuous id of present finger:
1,7,2,3,1,7,2,3,1,7,2,3...
I need to know how many different repeated number in a cycle.
outlet: 4
the next cycle could change because Id finger "3" disappear so:
1,7,2,1,7,2...
outlet: 3
alright, I gave it another try, its hacky and was a lot more difficult than I expected
Thank you, it works!
Even if there are some mistakes first time the cycle of number change, it's ok for what I needed!
Oops! Looks like something went wrong!