Clamps Dictionary
grain-buf-stereo
Function
(grain-buf-stereo &rest optional-keywords &aux (#:lambda-list '((buf (incudine-missing-arg "buf") (trig-rate 10.0) (dur 0.1) (transp 1.0) (pos 0.0) (pan 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))))
Stereo grain-buf dsp with equal-power panning. 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. |
transp |
transposition in MIDIcent (0 = no transposition). |
pos |
start position in buffer 0..1. |
pan |
pan position -1.0 (left) .. 1.0 (right). |
amp |
amplitude (default 0.5). |
gate |
1 = playing, 0 = stop and call done-action. |
done-action |
function called when gate closes (default #'free). |