Expand description
Preset files of the target synths, behind one adapter per synth.
format: thePresetFormatandPresetModeltraits that read, edit and write a preset, and the tree thatpreset inspectprints.registry: theParamRegistryof each synth, with the law between stored and physical values and its provenance.template: where the template of a new preset comes from.vital: the Vital adapter.edits: the edit list an agent writes, and its check against the registry.apply: applies checked edits to a model.mapper: theSynthMappertrait that turns layer values into edits, and the synth-neutral plan of the pitch and envelope groups.catalogue: the layer and pattern of each control in the agent reference.
inspect runs preset inspect and apply_file runs preset apply.
Modules§
- apply
- Applies resolved edits to a model through the format traits. The applier is synth-neutral: the registry supplies keys, ranges and defaults, and the format supplies the route rules and the final scan.
- catalogue
- Where each control of a synth sits in the agent reference: its layer and the pattern that groups its instances.
- edits
- The edit list: the JSON an agent writes and
preset applyreads. - format
- The preset file of a synth behind two traits:
PresetFormatreads and writes the bytes, andPresetModelis the decoded preset. - mapper
- Turns measured layer values into edits for one synth.
- registry
- The parameter registry of a synth: the key, range, unit and law of every control, with the provenance of each law.
- template
- Where the template of a preset comes from: a path on the command line, a file the adapter knows about, or a template built into the binary.
- vital
- The Vital adapter: the
.vitalJSON format, the parameter registry, the built-in template, the capabilities and the laws that span controls.
Structs§
- Apply
Request - The inputs of
preset apply.
Enums§
- Preset
Error - A preset command that failed.
Functions§
- apply_
file - Runs
preset apply: reads the edit list, takes the template, applies the edits and writes the preset. Returns the report to print. - inspect
- The text
preset inspectprints: the header fields of the adapter, a blank line, then the decoded tree.