sah Reference

Sample and hold operator (Schmitt trigger)

sah

Examples

Inlets

input [number]

The input value value that is sampled or held.

trig [number]

The trigger vale. When the trigger is above the threshold , the input is held and when it drops below the threshold, the input is sampled again.

thresh [number]

The threshold that the trigger must pass to switch between sample and hold behaviors.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [number]

The input value value that is sampled or held.

thresh [number]

The threshold that the trigger must pass to switch between sample and hold behaviors.

trig [number]

The trigger vale. When the trigger is above the threshold , the input is held and when it drops below the threshold, the input is sampled again.

See Also

Name Description
sah~ Sample and hold a signal
sah~ Sample and hold operator (Schmitt trigger)
gate Pass an input to one of several outlets.
gatetotrig A gate to trigger operator.
thresh Detect input above a certain level