reset a counter without causing a message to be outputted?

Sep 15, 2013 at 8:11am

reset a counter without causing a message to be outputted?

how do i reset a counter without causing a message to be outputted?
currently banging a ’0′ message to the counters (reset counter to number)input, each time i need to reset it, however this cause a 0 to be outputted, which then cause other problems down the signal chain.
is there a reset message? or clear message? etc etc…

#265312
Sep 15, 2013 at 9:50am

.

#265317
Sep 15, 2013 at 9:51am

try the inlet “reset counter to number on next clock” (third inlet)

#265318
Sep 15, 2013 at 11:06am

also, read the objects reference for a list of all the messages a given object recognizes.

#265324
Sep 15, 2013 at 2:14pm

Tip of the day: Hover the mouse pointer over an object inlet and look for a red or blue circle. If it’s red, it’s hot. If it’s blue it’s cold. Hot means immediate output. Cold means the value is set without output. If you want to make a hot inlet cold, prepend the input with “set”. ex. “set 0″

#265333
Sep 15, 2013 at 5:51pm

If you want to make a hot inlet cold, prepend the input with “set”. ex. “set 0″

this is a semi bad advice to give, as that method doesn’t work automatically for every object ;)

#265346
Sep 16, 2013 at 1:43am

yes, you’re right.. I shouldn’t have made a general reference. But it should still help him with his counter problem. :) thanks vichug

#265363
Sep 17, 2013 at 11:59am

If you want to make a hot inlet cold, prepend the input with “set”. ex. “set 0″

i say it’s also semi good advice :D

because it gets one to look for this message in any other object you might use in a similar situation like the ‘accum’ object.

this is the best advice, though, because even a beginner should be able to find the ‘set’ message:

“also, read the objects reference for a list of all the messages a given object recognizes.”

#265553

You must be logged in to reply to this topic.