Clamps Dictionary
play-lsample
Function
(play-lsample lsample pitch ampdb duration &key (pan 0.5) (startpos 0) (oneshot nil osp) out1 out2)
Play lsample with given pitch, ampdb and duration, pan and startpos with or without looping.
Arguments
lsample |
Instance of type lsample |
pitch |
Positive Number denoting pitch in Midicents. |
ampdb |
Positive number denoting amp in dB, mapping range [-100..0] to linear amp [0..1]. |
duration |
Positive number denoting duration in seconds. |
:pan |
Number denoting equal power panorama in the range [0..1]. |
:startpos |
Positive number denoting start position into the sample in seconds. |
:oneshot |
Boolean indicating whether not to loop the sample on playback. |
See also
Created: 2025-02-18 Di 12:58