Codebox Operators delay

delay

signal delay

new delay([options])

Options

NameTypeDefaultDescription
interpenumlinear

interpolation mode

Enum Values:
linear | cubic | spline | cosine | step | none | fastcubic | spline6

maxdelaysymbolsamplerate

maximum delay memory (samples)

maxdelaymsnumber

maximum delay memory (milliseconds)

Methods

clear(): out1

Returns

NameTypeDescription
out1

next(v, size): out1

Arguments

NameTypeDefaultDescription
vnumber
sizenumber-1

Returns

NameTypeDescription
out1number

read(size, interp): out1

Arguments

NameTypeDefaultDescription
sizenumber
interpenumlinear

Enum Values:
linear | cubic | spline | cosine | step | none | fastcubic | spline6

Returns

NameTypeDescription
out1number

the delayed sample value

reset(): out1

Returns

NameTypeDescription
out1

size(): out1

Returns

NameTypeDescription
out1number

step(): out1

Returns

NameTypeDescription
out1

write(v): out1

Arguments

NameTypeDefaultDescription
vnumber

Returns

NameTypeDescription
out1