I am extremely new to pure data so this may be a relatively simple question. My timer works but also must be able to stop without resetting and have a reset button as well. Basically the stop button is doing what the reset button needs to do. Can anybody help me with this?
-
Pure Data Timer Help
-
Hi gronayne, and welcome to this forum,
I had a look on your patch and I found some problems with it:
- that first [trigger] is actually not necessary since the order in which the [metro] objects are turned on and off does not influence the result
- you had [mod 60] for miliseconds instead of the correct [mod 1000]
- there are two important concept in Pd about inlets: they can be either hot or cold. A hot inlet will force the object to output the result immediately, and it is usually the leftmost inlet of an object. The cold inlet will receive a value, but wait for something to arrive in the hot inlet in order to make an operation. So in your patch, if you'd send the [0( to the cold inlet of [f], you are basically forcing it to have a new value = 0 but NOT outputting this value immediately; only the next bang will output it.
Here is the correct version of your patch: timer.pd
Also, when posting questions about how to use Pd in this forum, please use the Technical Issues subforum.
I hope this helps, take care!
Gilberto