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

snapshot~ Reference

Convert signal values to numbers

snapshot~

Examples

Arguments

interval [number]

Optional

The reporting interval length (ms)

Inlets

input [signal, bang]

Signal input to covert to float value / bang to report

interval [number]

The reporting interval length (ms)

Outlets

out [number]

When snapshot~ receives a bang, sample values from the input signal are sent out its outlet at the set interval.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

mode [number] (default: 0)

Sample input (0) or sample the square root value of the input (1)

Dynamic Attributes

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

input [signal, bang]

Signal input to covert to float value / bang to report

interval [number]

The reporting interval length (ms)

reset [bang]

reset

See Also

Name Description
snapshot~ Convert signal values to numbers
sig~ Convert numbers into audio signals
number~ Signal Monitor and Constant Generator.