rampsmooth Reference

Smooth an incoming signal

rampsmooth

Examples

Arguments

up [number]

Optional

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

down [number]

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 [number]

Input to be smoothed.

up [number]

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

down [number]

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

Outlets

out1 [number]

The smoothed signal is sent out the outlet.

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

down [number]

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 [number]

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

x [number]

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