edit_preset
Apply targeted changes to a Serum preset's parameters without altering other values. Edit filters, oscillators, envelopes, and more by specifying only the fields to update.
Instructions
Apply a partial spec update to an existing .SerumPreset file, in place.
Call describe_preset(preset_path) first to see the current state, then
only include the sections/indices in ``spec`` that should change --
e.g. to just brighten the filter, pass ``filters=[FilterSpec(cutoff=0.8, ...)]``
and leave everything else empty; it will be left untouched.
Returns the absolute path of the edited file (same as ``preset_path``).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| preset_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |