clocker

Interpolation with the function object

The function object can be used to create line segment functions that control a line~ object, and it can also be used as a lookup table. A number coming in its inlet will be treated as a point on the x-axis, and whatever y-axis value is shown on the line segment function at that point will be sent out the leftmost outlet. This example patch demonstrates that use of function.

Notify when a certain time has elapsed

When we want to measure how much time something took, we use a stopwatch. We click once at the beginning of the time we want to measure, click once at the end, and get a reading of the elapsed time. When we want a notification that a particular amount of time has elapsed we use a timer. We set the amount of time in the future that we want to be notified, start the timer, and the timer notifies us when that amount of time has passed.