rampsmooth~ Reference

Smooth an incoming signal

rampsmooth~

Description

Smooths an incoming signal across n samples. Each time an incoming value changes, it begins a linear ramp to reach this value.

Examples

rampsmooth~ performs linear smoothing on an input signal

Arguments

ramp-up-samples [int]

Optional

Number of samples for ramp-up

ramp-down-samples [int]

Optional

Number of samples for ramp-down

Attributes

Common Box Attributes

Messages

ramp

Arguments

sample-count [int]
Specifies the number of samples over which a signal will be smoothed. Each time an incoming value changes, the rampsmooth~ object begins a linear ramp of the specified number of samples to reach the new value. The default value is 0.

rampdown

Arguments

ramp-down samples [int]
Specifies the number of samples over which a signal will be smoothed when an incoming value less than the current value arrives.

rampup

Arguments

ramp-up samples [int]
Specifies the number of samples over which a signal will be smoothed when an incoming value greater than the current value arrives.

signal

Each time an incoming value changes, the object begins a linear ramp over a specified number of samples to reach the new value.

Output

signal

The smoothed signal is sent out the outlet.

See Also

Name Description
line~
slide~
MSP Compression Tutorial 1: Peak Limiting MSP Compression Tutorial 1: Peak Limiting
MSP Compression Tutorial 7: Keying MSP Compression Tutorial 7: Keying
MSP Compression Tutorial 8: Microsounds MSP Compression Tutorial 8: Microsounds
MSP Compression Tutorial 9: Ducking MSP Compression Tutorial 9: Ducking