Clamps Dictionary
buf-grain-mono
Function
(buf-grain-mono &rest optional-keywords &aux (#:lambda-list '((buf (incudine-missing-arg "buf") (trig-rate 10.0) (dur 0.1) (rate 1.0) (pos 0.0) (amp 0.5) (gate 1) (done-action #'free) id head tail before after replace action stop-hook free-hook fade-time fade-curve))))
Mono buf-grain dsp. Triggers at trig-rate hz. When gate becomes 0, calls done-action and frees the node.
Arguments
buf |
source buffer. |
trig-rate |
grain trigger rate in hz. |
dur |
grain duration in seconds. |
rate |
playback rate (1.0 = normal speed). |
pos |
start position in buffer 0..1. |
amp |
amplitude (default 0.5). |
gate |
1 = playing, 0 = stop and call done-action. |
done-action |
function called when gate closes (default #'free). |