interp Reference

Interpolate inputs

interp

Examples

Constructors

  • { arguments={a, b, c, d, e, f}, inlets={t} }
  • { arguments={a, b, c, d, e}, inlets={t, f} }
  • { arguments={a, b, c, d}, inlets={t, e, f} }
  • { arguments={a, b, c}, inlets={t, d, e, f} }
  • { arguments={a, b}, inlets={t, c, d, e, f} }
  • { arguments={a}, inlets={t, b, c, d, e, f} }
  • { arguments={}, inlets={t, a, b, c, d, e, f} }
  • { arguments={a, b, c, d}, inlets={t} }
  • { arguments={a, b, c}, inlets={t, d} }
  • { arguments={a, b}, inlets={t, c, d} }
  • { arguments={a}, inlets={t, b, c, d} }
  • { arguments={}, inlets={t, a, b, c, d} }
  • { arguments={a, b}, inlets={t} }
  • { arguments={a}, inlets={t, b} }
  • { arguments={}, inlets={t, a, b} }

Inlets

t

Typefloat

interpolation factor (0..1)

a

Typefloat

input 1

b

Typefloat

input 2

f

Typefloat

input 6

e

Typefloat

input 5

d

Typefloat

input 4

c

Typefloat

input 3

Attributes

mode [enum] (default: linear)

g/s(set)

Specify the interpolation mode: "none" and "step" perform no interpolation, "linear" performs two-point linear interpolation, "cosine" performs two-point cosine interpolation, "cubic" performs four-point cubic interpolation, "spline" performs four-point Catmull-Rom spline interpolation, and "spline6" performs six-point (5th order) B-spline interpolation.

Possible values:

0 = 'none'
1 = 'spline6'
2 = 'step'
3 = 'cosine'
4 = 'cubic'
5 = 'fastcubic'
6 = 'linear'
7 = 'spline'

Common Box Attributes

See Also

Name Description
mix
scale
smoothstep