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

rampsmooth~ Reference

Smooth an incoming signal

rampsmooth~

Examples

Arguments

up [auto]

Optional

Specifies the number of samples over which a signal will be smoothed when an incoming value greater than the current value arrives.

down [auto]

Optional

Specifies the number of samples over which a signal will be smoothed when an incoming value less than the current value arrives.

Inlets

x [auto]

Input to be smoothed.

up [auto]

Specifies the number of samples over which a signal will be smoothed when an incoming value greater than the current value arrives.

down [auto]

Specifies the number of samples over which a signal will be smoothed when an incoming value less than the current value arrives.

Outlets

out1 [signal]

The smoothed signal is sent out the outlet.

Dynamic Attributes

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

down [auto]

Specifies the number of samples over which a signal will be smoothed when an incoming value less than the current value arrives.

reset [bang] (default: 0)

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

up [auto]

Specifies the number of samples over which a signal will be smoothed when an incoming value greater than the current value arrives.

x [auto]

Input to be smoothed.

See Also

Name Description
rampsmooth~ Smooth an incoming signal
rampsmooth Smooth an incoming signal
line~ Linear ramp generator
slide~ The discrete derivative of the input
smoothstep~ Smoothed fade of inputs