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

ease Reference

Apply an easing function to an input.

ease

Examples

Inlets

input [number]

Input value

Outlets

output [number]

Eased output

Dynamic Attributes

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

function [enum] (default: linear)

Easing function to use Possible values:

0 = 'linear'
1 = 'in_back'
2 = 'in_bounce'
3 = 'in_circular'
4 = 'in_cubic'
5 = 'in_elastic'
6 = 'in_exponential'
7 = 'in_quadratic'
8 = 'in_quartic'
9 = 'in_quintic'
10 = 'in_sine'
11 = 'in_out_back'
12 = 'in_out_bounce'
13 = 'in_out_circular'
14 = 'in_out_cubic'
15 = 'in_out_elastic'
16 = 'in_out_exponential'
17 = 'in_out_quadratic'
18 = 'in_out_quartic'
19 = 'in_out_quintic'
20 = 'in_out_sine'
21 = 'out_back'
22 = 'out_bounce'
23 = 'out_circular'
24 = 'out_cubic'
25 = 'out_elastic'
26 = 'out_exponential'
27 = 'out_quadratic'
28 = 'out_quartic'
29 = 'out_quintic'
30 = 'out_sine'

input [number]

Input value

input_range [list] (default: 0,1)

Scales the input value from between the given values to an output range of 0 to 1 before applying the easing function.

output_range [list] (default: 0,1)

Scales the output of the easing process from between 0 to 1 to the given output range. It is possible to exceed the user-defined output range with some easing functions.

syncupdate [bool] (default: false)

When enabled, changes to the easing function will be applied only after a change of direction is detected in the value input.

See Also

Name Description
ease~ Apply an easing function to an input.
ease.xfade~ Apply an easing function to an input.
ease.listinterp Applies an easing function to an interpolation between two lists.
list.ease Generate impulses for a list of audio values
interp Interpolate inputs