downsamp Reference

Downsample the accuracy of an input

downsamp

Examples

Arguments

downSample [number]

Optional

The downsampling amount. As the downsampling amount increases, the resolution of the output decreases.

Inlets

x [number]

The input to be downsampled

downSample [number]

The downsampling amount. As the downsampling amount increases, the resolution of the output decreases.

Outlets

out1 [number]

The downsampled output

Fixed Attributes

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

hot [bool] (default: false)

Trigger computation on all inlets.

Dynamic Attributes

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

downSample [number]

The downsampling amount. As the downsampling amount increases, the resolution of the output decreases.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

x [number]

The input to be downsampled

See Also

Name Description
downsamp
downsamp~ Downsample a signal
sah Sample and hold operator (Schmitt trigger)