Expand description
The Vital adapter: the .vital JSON format, the parameter registry, the
built-in template, the capabilities and the laws that span controls.
Facts come from the Vital 1.0.6 open source (GPL-3.0), restated in our own words and layout; no code or comment of it is copied. The retail app is newer than that source, so a fact carries the build it was read from.
Modules§
- laws
- Vital laws that span several controls: unison spread, LFO tempo rates, pan gains, modulation depth and the amplitude path.
Structs§
- Keyframe
- One keyframe of a wavetable: a frame position and one cycle.
- LfoShape
- An LFO shape: points with one curve power per point.
- Vital
Format - The
.vitalformat. - Vital
Mapper - Maps layer groups to Vital edits.
- Vital
Model - A decoded
.vitalpreset. - Vital
Template - The template rules of Vital.
- Vital
Version - A Vital build stamp,
major.minor.patch. - Wavetable
- A wavetable built from one-cycle keyframes. Frames between keyframes are interpolated by the synth when it loads the table.
Enums§
- Engine
Scale - The engine transform of a stored value, applied after modulation adds to it.
Constants§
- DEFAULT_
STAMP - The
synth_versionstamp of files built from the built-in template: the version of the open source. - EFFECT_
ORDER - The effect list of code 0, top to bottom: the order of a new patch.
- EFFECT_
ORDERS - The number of effect orders, 9!. Codes run from 0 to one less.
- FRAME_
BASE64_ CHARS - Base64 characters of one frame: 8192 bytes with padding.
- FRAME_
SAMPLES - Samples in one wavetable frame.
- MAX_
LFO_ POINTS - The most points an LFO shape holds.
- MAX_
POSITION - The highest keyframe position: a table has 257 frames.
- MAX_
PRESET_ BYTES - The largest file the reader accepts: 64 MiB.
- OPEN_
ENGINE - The engine the render probes of #179 ran on: the open 1.0.x engine
through the
vita0.1.0 binding. - RETAIL_
BUILD - The stable retail build that written files are checked against: the load check of #181 ran on it. Its saved default state holds every created control at the registry default.
- RETAIL_
ONLY_ KEYS - Keys that retail builds from 1.5 on write and the open source cannot read. A rewrite keeps them.
- ROUTE_
SOURCES - The 32 modulation source names.
Statics§
- CAPABILITIES
- The structure of Vital, from the 1.0.6 source. The portamento span is
2^-10 s to 2^4 s; the bend range and the velocity amount are the
registry defaults of
pitch_bend_rangeandvelocity_track. - FORMAT
- The Vital format with the default size cap.
- MAPPER
- The Vital mapper. Each group maps to no edit until its Vital task writes
the controls: pitch and envelope through
pitch_envelope::map.
Functions§
- default_
polarity - The polarity of a route whose edit names none: bipolar for LFOs, random
sources,
stereoandpitch_wheel, unipolar for the rest. - effect_
order - The effect list of an
effect_chain_ordercode, top to bottom, orNonefor a code of 9! or more. The inverse ofeffect_order_code. - effect_
order_ code - The
effect_chain_ordercode of an effect list, top to bottom. - engine_
scale - The engine scale of a Vital key, which modulation adds before.