Sample and Hold

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


A value of any type. By default, the value is a number.


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.


A pulse that clears the currently stored value.


The currently stored value.