Clamps Dictionary
load-sfz-preset
Function
(load-sfz-preset file name &key force oneshot)
Load a sfz file into a preset with the id name. In case this preset already exists, the old one will only be overwritten if force is set to t. This function normally doesn't need to be called explicitely. The preferred mechanism to deal with sfz presets is by using a combination of add-sfz-preset and ensure-sfz-preset. file will be searched recursively in all directories of *sfz-file-path*.
Arguments
file |
Path or filename of the sfz file to load |
name |
symbol to identify the preset (preferably a keyword, but any symbol works) |
:force |
Force loading of the preset even if it already exists. |
:oneshot |
Boolean denoting whether not to loop the playback. |
Examples
(load-sfz-preset "~/quicklisp/local-projects/clamps/packages/cl-sfz/snd/sfz/Flute-nv/000_Flute-nv.sfz" :flute-nv)
Created: 2025-02-18 Di 12:58