Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: plot , Previous: play-lsample , Up: P , Home: Overview

Clamps Dictionary

play-sfz

Function

(play-sfz pitch db dur &key (pan 0.5) (preset :flute-nv) (startpos 0) (out1 0) out2 (oneshot nil osp))

Play a sfz preset with stereo panning to incudine's audio outputs with index out1 and out2, not looping if oneshot is non-nil or set in the lsample.

Arguments

pitch Pitch in Midicent.
db Amplitude in dB, the range [-100..0] corresponding to linear values [0..1].
dur Duration in seconds.
:pan Number in the range [0..1] defining equal power panning between out0 and out1.
:preset The name of a registered preset. If the preset hasn't been loaded it will get loaded before playback starts.
:startpos The startposition in the sample in seconds.
:out1 Zero based index of the first outlet.
:out2 Zero based index of the second outlet. If not specified, (mod (1+ out1) 8) will be used.
:oneshot Boolean denoting whether not to loop the playback.

Note

The setting of standard-pitch is taken into account!

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate