A newer version of Max is available. Click here to access the latest version of the documentation

sah Reference

Sample and hold operator (Schmitt trigger)

sah

Examples

Constructors

  • { arguments={input, thresh}, inlets={control} }
  • { arguments={thresh}, inlets={input, control} }
  • { arguments={}, inlets={input, control, thresh} }

Inlets

input

Typefloat

input to sample

control

Typefloat

control signal

thresh

Typefloat

threshold

Attributes

init [float] (default: 0)

g/s(set)

Specify the initially held value

Common Box Attributes

See Also

Name Description
change
delta
latch
sah
slide
train