Expand description
The preset file of a synth behind two traits: PresetFormat reads and
writes the bytes, and PresetModel is the decoded preset.
The commands and the edit applier use only these traits. Container, number and hash rules stay inside each adapter. A model keeps every key it read, including keys the registry does not know, so a rewrite loses no feature of a newer build.
Structs§
- Describe
Options - How much of a long list or text
PresetModel::describeshows. - Description
- The tree that
preset inspectprints under the header. - Format
Error - A preset that cannot be read or written.
- Header
- The header fields of a preset, in print order. The first field is
always
build: the build stamp the file carries. - Header
Field - One line of the header.
- Route
- One modulation slot.
Enums§
- Node
- A node of the describe tree.
- Route
Polarity - The direction of a modulation source.
- Status
- How a header field reads.
- Stored
- A value as the file stores it.
Constants§
- SHOWN_
TEXT_ CHARS - The longest text shown in full when
fullis false.
Traits§
- Preset
Format - The file format of one synth.
- Preset
Model - A decoded preset.
Functions§
- format_
for - The format of a synth.