presets
Lists a plugin's sound IDs by name so you can choose a sound and pass its id to project_write; supports query filtering and optional harvesting of built-in sounds.
Instructions
List the presets that load by name for one plugin; an id goes into project_write as an instrument's or effect's preset. Call it after plugins, when choosing a sound. Returns {plugin, kind, total, presets}; total counts every match, and when there are more than limit the list is an even spread across the preset folders, each folder an equal share, not the first ones. A plugin name that matches nothing or several plugins returns {ok: false, error} naming the candidates. Reads files only and FL need not run, except with harvest, which opens the plugin in FL and adds its built-in presets to the catalog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 'instrument' or 'effect', for a name that is both (Serum2); without it the instrument is taken | |
| limit | No | at most this many ids | |
| query | No | words that must all appear in the id, case-insensitive, any order, e.g. 'bass reese' | |
| plugin | Yes | the plugin's name as plugins lists it; a unique part of it works | |
| harvest | No | first read the plugin's built-in presets from FL (opens it there once, about a second per preset); for a plugin whose presets live inside it, not in files |