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

delay Reference

Delays a signal by a certain amount of time (specified in samples)

delay

Examples

Constructors

  • { arguments={size, taps}, inlets={input, ...} }
  • { arguments={size}, inlets={input, ...} }
  • { arguments={}, inlets={input, ...} }

Inlets

input

Typefloat

input to delay

...

Typefloat

input delay taps

Attributes

feedback [bool] (default: 1)

g/s(set)

Specify whether the object can receive feedback signals (this applies to visual gen patching only). If set to 0, the delay object will not accept incoming feedback signals (unless there is another feedback delay or history object in the feedback path). With @feedback enabled, the minimum delay time is increased by 1 sample.

interp [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'

name [string] (default: )

g/s(set)

Specify the name of the delay line. This name is used in the generated code and for retaining delay data between edits.

Common Box Attributes

See Also

Name Description
buffer
data
dcblock
history