RNBO Objects & Operators slide
Open Help

slide

The discrete derivative of the input

Description

Calculate the The discrete derivative of the input. This is helpful for smoothing values logarithmically for envelope following and lowpass filtering.

Arguments

up [number]

Optional

Specifies the slide-up value. The default value is 1. A lower slide-up value results in a steeper slope upward wheras a higher value results in a smoother inclining slope.

down [number]

Optional

Specifies the slide-down value. The default value is 1. A lower slide-down value results in a steeper slope downward, wheras a higher value results in a smoother declining slope.

Inlets

x [number]

Set's the current output sample value (the value from which the next incoming value will smoothly transition from).

up [number]

Specifies the slide-up value. The default value is 1. A lower slide-up value results in a steeper slope upward wheras a higher value results in a smoother inclining slope.

down [number]

Specifies the slide-down value. The default value is 1. A lower slide-down value results in a steeper slope downward, wheras a higher value results in a smoother declining slope.

Outlets

out1 [number]

The smoothed input value.

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 slide-down value. The default value is 1. A lower slide-down value results in a steeper slope downward, wheras a higher value results in a smoother declining slope.

reset [bang] (default: 0)

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

up [number]

Specifies the slide-up value. The default value is 1. A lower slide-up value results in a steeper slope upward wheras a higher value results in a smoother inclining slope.

x [number]

Set's the current output sample value (the value from which the next incoming value will smoothly transition from).

See Also

Name Description
slide
slide~ The discrete derivative of the input
expr~ Evaluate an expression using the rnbo expr language.
rampsmooth Smooth an incoming signal