Clamps Dictionary
play-buffer*
Incudine DSP Function
(play-buffer* &rest optional-keywords &aux (#:lambda-list '((buffer (incudine-missing-arg "buffer") (env (incudine-missing-arg "env")) (dur 1) (amp 0) (rate 1) (pan 0.5) (startpos 0) (out1 0) (out2 1) id head tail before after replace action stop-hook free-hook fade-time fade-curve))))
Play buffer with env for dur seconds and amp in dB at rate, with pan from startpos seconds into the sample. Output will be panned between out1 and out2. All other keywords of incudine dsps also apply. Works with any block size.
Arguments
buffer |
Incudine Buffer. |
env |
Incudine Envelope. |
dur |
Positive Number denoting duration. |
amp |
Positive Number denoting amplitude in dB. The dB range [-100..0] is mapped to the linear range [0..1]. |
rate |
Positive Number denoting playback rate, adjusted for the sample rate of buffer. |
pan |
Number in the range [0..1] denoting panorama between out1 and out2. |
startpos |
Positive Number denoting in seconds into the buffer. |
out1 |
Non Negative Integer denoting first output channel. |
out2 |
Non Negative Integer denoting second output channel. |
Created: 2025-02-18 Di 12:58