Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: play-buffer-stretch-env-pan-out* , Previous: play-buffer-loop* , Up: P , Home: Overview

Clamps Dictionary

play-buffer-stretch*

Incudine DSP Function

(play-buffer-stretch* &rest optional-keywords &aux (#:lambda-list '((buffer (incudine-missing-arg "buffer") (env (incudine-missing-arg "env")) (amp 0) (transp 0) (start 0) (end 0) (stretch 1) (wwidth 137) id head tail before after replace action stop-hook free-hook fade-time fade-curve))))

Play buffer using 2 window overlap add granular stretching/transposition with env between start and end, amp in dB, transposition transp, stretch and grain window size wwidth to output 0. All other keywords of incudine dsps also apply. Works with any block size.

Arguments

buffer Incudine Buffer.
env Incudine Envelope.
amp Positive Number denoting amplitude in dB. The dB range [-100..0] is mapped to the linear range [0..1].
transp Number denoting transposition in Midicents.
start Number denoting the start in seconds into the buffer (at buffer rate).
end Number denoting the end in seconds into the buffer (at buffer rate). Zero denotes end of buffer.
stretch Positive Number denoting time stretching factor of playback.
wwidth Positive Number denoting granular window width in msecs.

Author: Orm Finnendahl

Created: 2025-06-08 So 16:56

Validate