bufferplay
A one-shot sample player.
new bufferplay([options])
Options
Name | Type | Default | Description |
---|---|---|---|
boundmode | enum | ignore | Enum Values: |
buffername | symbol | Buffer to use. | |
channelmode | enum | clamp | Enum Values: |
interp | enum | linear | Enum Values: |
Methods
next(buffer, trigger, start, length, rate, channel): [out1, out2, out3]
Arguments
Name | Type | Default | Description |
---|---|---|---|
buffer | number | ||
trigger | number | ||
start | number | ||
length | number | ||
rate | number | ||
channel | number |
Returns
Name | Type | Description |
---|---|---|
out1 | number | |
out2 | number | |
out3 | number |
reset(): out1
Returns
Name | Type | Description |
---|---|---|
out1 |