Expand description
Curation and generation data a driver gives the apps: editor pages, controls, help, generation recipes. Platform-neutral; apps render it.
Structs§
- Character
- A kind of sound a driver can generate.
- Curation
- How the editor lays out a driver’s fields. Every field is in exactly
one section or in
excluded(fields the editor does not show, such as sequencer data that needs its own view). - Handle
- A draggable point on a page’s first graph; dragging it sets the fields
on its axes through
Driver::drag. - Help
- Help text for one field.
- Macro
Info - How a driver names and explains one of the four
Macros. - Macros
- Four generic ways to shape a generated sound, each
0.0..=1.0. Each driver maps them onto its own fields. - Note
- A note on a piano roll, for
Graph::Voices. Times and pitch 0..1. - Page
- A top-level editor page (a stage of the signal path, a layer, …).
- Palette
- The extra sources a synth holds right now, beyond its built-in engines.
- Palette
Unit - A user unit (a loaded oscillator or effect) a synth holds, as a source generation may use.
- Recipe
- What to generate.
- Section
- A titled group of fields on a
Page. - Unit
Param - A parameter a user unit declares, in its own values.
Enums§
- Control
- The widget a field wants.
- Family
- What a
Characteris for; apps group characters by it. - Graph
- An illustrative picture of part of a program, as plain numbers the apps draw. Coordinates are 0..1 unless noted; none of it claims to match the synth’s audio.
- Mutability
- What generation may do to a field.
- Unit
Param Kind - How a user unit’s parameter reads.
Constants§
- MACROS
- Generic macro titles and help, for a driver that says nothing better.
In
Macrosorder: bright, movement, grit, space.
Functions§
- curation_
by_ group - One page per schema group, in the order the groups first appear, each
with one section of the same name. A starting point for a simple
driver’s
Driver::curation. - format_
raw_ default rawforfwith no curation: “Off”/“On” for a two-value field (the default control is then a toggle), else the number.- morph_
fields - Step
t(0.0..=1.0) of the way fromatob, over the free fields (Driver::morph’s default): a dial (Control::Continuousina) interpolates; every other free field isa’s untiltreaches its group’s threshold (fromseed, within 0.15..0.85), thenb’s. So 0 isa, 1 isb’s sound, and a field never turns back on the way. Non-free fields and the name area’s. Parent values out of range are clamped; a value the program refuses staysa’s. - morph_
fields_ by morph_fieldsfor a driver that knows better than its controls which fields are dials (dial, by field index): a number that names something (a destination) must switch, not slide.