Codebox Operators bufferplay

bufferplay

A one-shot sample player.

new bufferplay([options])

Options

NameTypeDefaultDescription
boundmodeenumignore

Enum Values:
fold | clamp | clip | wrap | mirror | ignore

buffernamesymbol

Buffer to use.

channelmodeenumclamp

Enum Values:
fold | clamp | clip | wrap | mirror | ignore

interpenumlinear

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

Methods

next(buffer, trigger, start, length, rate, channel): [out1, out2, out3]

Arguments

NameTypeDefaultDescription
buffernumber
triggernumber
startnumber
lengthnumber
ratenumber
channelnumber

Returns

NameTypeDescription
out1number
out2number
out3number

reset(): out1

Returns

NameTypeDescription
out1