Sample and Hold
Store a value of any type. The patch will store the value until a new value is sampled or until the current value is reset.
Right-click to change the type (ex: number, text, color).
Sample and Hold
- Value
- Sample
- Reset
- Value
A value of any type. By default, the value is a number.
- Sample
A boolean that is true when the patch is sampling a value. When false, the patch will not sample the value, even if it changes. The patch outputs the most recently sampled value.
- Reset
A pulse that clears the currently stored value.
- Output
The currently stored value.