Hi,
the fourth [counter] outlet count overflows but I can't see how to set it back to 0.
I'm trying to run throw lines and columns with this :
Thanks !
reset [counter] overflows
Hi,
the fourth [counter] outlet count overflows but I can't see how to set it back to 0.
I'm trying to run throw lines and columns with this :
Thanks !
Work in progress : FCPD a FreeCAD PureData connexion
Reading its help patch I also can't see such a feature. You could grab its value when you want to reset it and feed it in the right inlet of a [- ] object. For example, if you want to reset it after 8 occurrences, send 9 to the right inlet of [- ] and the next output value (which will be 9) will go through [- ] and result in 0. Just an idea.
Or connect this outlet to a [t b] and then to another [counter] which you can reset since you'll get using its leftmost outlet.
@oid this is from cyclone.
@oid said:
If you use anything other than vanilla objects you should tell us what those are, I have no idea if
[counter]
is an abstraction or an external...
OK, calm down... the screenshot is from Purr Data, which ships with cyclone preinstalled. Users who have never used Pd vanilla (only used Purr Data) might not have had occasion to pay attention to what is a vanilla object and what is an external. (Also, I find the feigned "dunno" to be quite amusing -- pretty much anybody who has been around Pd for more than a few months knows that a 5-in, 4-out [counter] is 99.99999% likely to be the one from cyclone I'm far less expert than you but I recognized it immediately...)
Looks like Alexandros covered the available solutions. If it's me, I would use two counters, one for rows and one for columns, both of which could be reset independently. Using the right outlet for rows seems like a convenience; when conveniences fail, better modeling is still a valid solution.
hjh
@ddw_music I am/was calm, was just pointing it out for future reference. Beyond it making it easier to offer help it makes the search engine more effective, now this thread will actually be able to be found by those searching for use of this external without having to sift through the massive number of results "counter" on its own would produce.
Thanks for the replies !
You're right @oid I'll try to be more explicit next time.
A second [counter] is a good solution, I found another one:
[for++] is from iemlib
NB : my own Bible is https://puredata.info/docs/ListOfPdExternals/
Work in progress : FCPD a FreeCAD PureData connexion
@FFW Great solution!
iemlib and vanilla comparison: rows_columns.pd
Another vanilla solution which reproduce my first attempt with [metro] and [moses]:
I've just type "moses" in a translator and so understand this object name…
Work in progress : FCPD a FreeCAD PureData connexion
@FFW [moses] divides the stream into two parts, so the Israelites can walk through, but when the Pharaoh and his soldiers are trying to cross, the sea floats together again and drowns the entire Egyptian army. Witnessing the power of God, the Israelites start singing and praise God and Her prophet [moses].
Later [moses] would receive the Ten Commandments from God, the first of the Commandments being "I am the Lord thy God".
Where in the comandments comes "allways use [trigger]"?
@Johnny-Mauser It is implied by the second, No other gods before me, if you do not know which is second how do you know which is first?
It is not so much that you should always use [trigger] but that you always need a reason not to use it and those are few.
Oops! Looks like something went wrong!