@openmixer/omx-contract 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/data/kernels/balance.json +19 -0
- package/data/kernels/chorus.json +48 -0
- package/data/kernels/drive.json +90 -0
- package/data/kernels/eq.json +60 -0
- package/data/kernels/reverb.json +135 -0
- package/data/primitives.json +74 -0
- package/dist/ts/omx-contract.d.ts +417 -0
- package/dist/ts/omx-contract.js +417 -0
- package/include/omxcontract/omx_contract_limits.h +137 -0
- package/package.json +1 -1
- package/share/omx-contract/omx-contract.json +484 -1
package/README.md
CHANGED
|
@@ -6,7 +6,8 @@ The FreeMixer declarations as data: what a value may be (a travel, a default, a
|
|
|
6
6
|
list), as JSON validated by a JSON Schema, rendered by one CLI into
|
|
7
7
|
every language that reads it. Governed by openmixer's
|
|
8
8
|
`docs/design/specs/2026-10-05-omx-contract.md`; 1.0.0 carries the phase-1 items of its §4.1, what
|
|
9
|
-
omx-dsp needs,
|
|
9
|
+
omx-dsp needs, 1.1.0 adds the flanger, de-esser, phaser, rotary, tremolo and graphic EQ kernels, and
|
|
10
|
+
1.2.0 the chorus, drive, EQ, reverb and pan travels omx-dsp and omx-plugins still kept locally.
|
|
10
11
|
|
|
11
12
|
```
|
|
12
13
|
data/ the declaration, one file per group, edited by hand
|
|
@@ -40,9 +41,9 @@ share/omx-contract` and `render --target ts --out test/golden/ts`; CI holds all
|
|
|
40
41
|
|
|
41
42
|
## Consuming it
|
|
42
43
|
|
|
43
|
-
Pin one version (`omx-contract 1.1
|
|
44
|
+
Pin one version (`omx-contract 1.2.1` in `.github/pins.txt`) and build against its renders, committing
|
|
44
45
|
none: the installed `omx-contract-devel` / `libomx-contract-dev` at exactly that version
|
|
45
|
-
(`pkg-config --exact-version=1.1
|
|
46
|
+
(`pkg-config --exact-version=1.2.1 omx-contract`), else the release's npm tarball, unpacked, and
|
|
46
47
|
`omx-contract render --target c --out build/omx-contract/include`. Include
|
|
47
48
|
`<omxcontract/omx_contract_limits.h>`. A plugin's parameter header is rendered by omx-plugins from its
|
|
48
49
|
declaration, by reference to the kernel travels here (since 1.1.0).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../schema/omx-contract.schema.json",
|
|
3
|
+
"PAN_RANGE": {
|
|
4
|
+
"kind": "travels",
|
|
5
|
+
"doc": "The PAN travel — −1 (hard left) … 0 (center) … +1 (hard right). A property of the pan law itself, not of any desk, so it is declared once. Continuous: a pan position has no quantum, and panGains clamps to these bounds.",
|
|
6
|
+
"travel": {
|
|
7
|
+
"min": -1,
|
|
8
|
+
"max": 1,
|
|
9
|
+
"step": 0,
|
|
10
|
+
"unit": ""
|
|
11
|
+
},
|
|
12
|
+
"c": {
|
|
13
|
+
"alias": {
|
|
14
|
+
"fact": "pan",
|
|
15
|
+
"field": "pan"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
package/data/kernels/chorus.json
CHANGED
|
@@ -11,5 +11,53 @@
|
|
|
11
11
|
"default": 0,
|
|
12
12
|
"defaultFrom": "desk"
|
|
13
13
|
}
|
|
14
|
+
},
|
|
15
|
+
"CHORUS_RATE_RANGE": {
|
|
16
|
+
"kind": "travels",
|
|
17
|
+
"doc": "The chorus sweep's speed (§3a). Above ~3 Hz it stops being a chorus and becomes a vibrato.",
|
|
18
|
+
"travel": {
|
|
19
|
+
"min": 0.05,
|
|
20
|
+
"max": 8,
|
|
21
|
+
"step": 0.01,
|
|
22
|
+
"unit": "Hz",
|
|
23
|
+
"default": 0.6,
|
|
24
|
+
"defaultFrom": "desk"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"CHORUS_DEPTH_RANGE": {
|
|
28
|
+
"kind": "travels",
|
|
29
|
+
"doc": "The chorus's peak-to-peak excursion above its declared 10 ms base (§3a).",
|
|
30
|
+
"travel": {
|
|
31
|
+
"min": 0,
|
|
32
|
+
"max": 12,
|
|
33
|
+
"step": 0.1,
|
|
34
|
+
"unit": "ms",
|
|
35
|
+
"default": 4,
|
|
36
|
+
"defaultFrom": "desk"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"CHORUS_VOICES_RANGE": {
|
|
40
|
+
"kind": "travels",
|
|
41
|
+
"doc": "The chorus's tap count — one oscillator read at k/N (§3a).",
|
|
42
|
+
"travel": {
|
|
43
|
+
"min": 1,
|
|
44
|
+
"max": 4,
|
|
45
|
+
"step": 1,
|
|
46
|
+
"unit": "",
|
|
47
|
+
"default": 3,
|
|
48
|
+
"defaultFrom": "desk"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"CHORUS_MIX_RANGE": {
|
|
52
|
+
"kind": "travels",
|
|
53
|
+
"doc": "The chorus's wet/dry, as an instance of DRIVE_MIX_RANGE — the same percent travel, its own come-up value: 35 %, a colour under the dry on a strip (§3a). The REVERB_LOWCUT_RANGE-over- REVERB_CUT_RANGE shape: one travel, one declared default per field that reads it.",
|
|
54
|
+
"travel": {
|
|
55
|
+
"min": 0,
|
|
56
|
+
"max": 100,
|
|
57
|
+
"step": 0.1,
|
|
58
|
+
"unit": "%",
|
|
59
|
+
"default": 35,
|
|
60
|
+
"defaultFrom": "desk"
|
|
61
|
+
}
|
|
14
62
|
}
|
|
15
63
|
}
|
package/data/kernels/drive.json
CHANGED
|
@@ -8,5 +8,95 @@
|
|
|
8
8
|
"derive": "sqrt",
|
|
9
9
|
"of": 0.5
|
|
10
10
|
}
|
|
11
|
+
},
|
|
12
|
+
"DRIVE_AMOUNT_RANGE": {
|
|
13
|
+
"kind": "travels",
|
|
14
|
+
"doc": "The PRE-CURVE gain, in dB. 0 dB is unity into the curve, so a stage switched on at its defaults changes almost nothing — which is what an `on` switch should mean. The ceiling is where every curve is saturating hard on any signal a console carries.",
|
|
15
|
+
"travel": {
|
|
16
|
+
"min": 0,
|
|
17
|
+
"max": 36,
|
|
18
|
+
"step": 0.1,
|
|
19
|
+
"unit": "dB",
|
|
20
|
+
"default": 0,
|
|
21
|
+
"defaultFrom": "desk"
|
|
22
|
+
},
|
|
23
|
+
"c": {
|
|
24
|
+
"alias": {
|
|
25
|
+
"fact": "drive",
|
|
26
|
+
"field": "driveDb"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"DRIVE_CHARACTER_RANGE": {
|
|
31
|
+
"kind": "travels",
|
|
32
|
+
"doc": "The EVEN/ODD harmonic balance. −1 is pure odd (the curve itself), +1 is pure even, 0 an equal blend — the kernel splits its own distortion residue into an odd and an even half and fades between them, so the two ends are exact rather than approximate (`mix_drive.h`, measured: H2 at −317 dBc at −1, H3 at −118 dBc at +1). Unitless, and signed by construction. NOT NORMALIZED_RANGE: this is a BALANCE with a meaningful centre, and a 0..1 travel would put its centre at 0.5 and its neutral nowhere.",
|
|
33
|
+
"travel": {
|
|
34
|
+
"min": -1,
|
|
35
|
+
"max": 1,
|
|
36
|
+
"step": 0.01,
|
|
37
|
+
"unit": "",
|
|
38
|
+
"default": 0,
|
|
39
|
+
"defaultFrom": "desk"
|
|
40
|
+
},
|
|
41
|
+
"c": {
|
|
42
|
+
"alias": {
|
|
43
|
+
"fact": "drive",
|
|
44
|
+
"field": "character"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"DRIVE_BAND_FREQ_RANGE": {
|
|
49
|
+
"kind": "travels",
|
|
50
|
+
"doc": "The band split / tilt corner, in Hz. ONE travel for all three band modes, because the C imposes one constraint on all of them: it is the corner of a single biquad, and the split's other half is `x − LP(x)`. The full audio band, not the channel filters' narrower HPF/LPF pair — the same reasoning REVERB_CUT_RANGE records: a surface narrower than the row removes reach the console genuinely has.",
|
|
51
|
+
"travel": {
|
|
52
|
+
"min": 20,
|
|
53
|
+
"max": 20000,
|
|
54
|
+
"step": 1,
|
|
55
|
+
"unit": "Hz",
|
|
56
|
+
"default": 2000,
|
|
57
|
+
"defaultFrom": "desk"
|
|
58
|
+
},
|
|
59
|
+
"c": {
|
|
60
|
+
"alias": {
|
|
61
|
+
"fact": "drive",
|
|
62
|
+
"field": "bandHz"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"DRIVE_MIX_RANGE": {
|
|
67
|
+
"kind": "travels",
|
|
68
|
+
"doc": "The wet/dry, as a PERCENT — the unit a drive control is read in on every desk that has one. Deliberately not NORMALIZED_RANGE (which is unitless 0..1): a mix a surface must label \"0.35\" when the operator thinks in \"35 %\" is a control whose declaration is fighting its reader. The kernel divides by 100 where it resolves the atom, in one place. The come-up is 100 %, not the reverb's modest 30: a saturator's insert use is IN the path. The `exciter` curve seeds itself lower (DRIVE_EXCITER_SEED), because that is a property of the TOPOLOGY and not of the travel.",
|
|
69
|
+
"travel": {
|
|
70
|
+
"min": 0,
|
|
71
|
+
"max": 100,
|
|
72
|
+
"step": 0.1,
|
|
73
|
+
"unit": "%",
|
|
74
|
+
"default": 100,
|
|
75
|
+
"defaultFrom": "desk"
|
|
76
|
+
},
|
|
77
|
+
"c": {
|
|
78
|
+
"alias": {
|
|
79
|
+
"fact": "drive",
|
|
80
|
+
"field": "mix"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"DRIVE_TRIM_RANGE": {
|
|
85
|
+
"kind": "travels",
|
|
86
|
+
"doc": "The POST-stage make-up, in dB. Symmetric enough either way that an operator can null the stage in and out against the bypass, which is how a colour stage is actually judged.",
|
|
87
|
+
"travel": {
|
|
88
|
+
"min": -24,
|
|
89
|
+
"max": 12,
|
|
90
|
+
"step": 0.1,
|
|
91
|
+
"unit": "dB",
|
|
92
|
+
"default": 0,
|
|
93
|
+
"defaultFrom": "desk"
|
|
94
|
+
},
|
|
95
|
+
"c": {
|
|
96
|
+
"alias": {
|
|
97
|
+
"fact": "drive",
|
|
98
|
+
"field": "trimDb"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
11
101
|
}
|
|
12
102
|
}
|
package/data/kernels/eq.json
CHANGED
|
@@ -55,5 +55,65 @@
|
|
|
55
55
|
"derive": "count",
|
|
56
56
|
"of": "ISO_THIRD_OCTAVE_CENTRES_HZ"
|
|
57
57
|
}
|
|
58
|
+
},
|
|
59
|
+
"EQ_FREQ_RANGE": {
|
|
60
|
+
"kind": "travels",
|
|
61
|
+
"doc": "The frequency band a parametric band can be dragged across.",
|
|
62
|
+
"travel": {
|
|
63
|
+
"min": 20,
|
|
64
|
+
"max": 20000,
|
|
65
|
+
"step": 10,
|
|
66
|
+
"unit": "Hz"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"EQ_GAIN_RANGE": {
|
|
70
|
+
"kind": "travels",
|
|
71
|
+
"doc": "The parametric-band gain travel, in dB. The ± scalar `clampEqGain` enforces is READ off this (`core/src/eq.ts` derives `EQ_GAIN_LIMIT_DB` from `max`), so the bound is stated once and a surface cannot draw a wider knob than the clamp will honour.",
|
|
72
|
+
"travel": {
|
|
73
|
+
"min": -15,
|
|
74
|
+
"max": 15,
|
|
75
|
+
"step": 0.5,
|
|
76
|
+
"unit": "dB"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"EQ_Q_RANGE": {
|
|
80
|
+
"kind": "travels",
|
|
81
|
+
"doc": "The Q (resonance) extent of a parametric band.",
|
|
82
|
+
"travel": {
|
|
83
|
+
"min": 0.3,
|
|
84
|
+
"max": 8,
|
|
85
|
+
"step": 0.1,
|
|
86
|
+
"unit": ""
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"EQ_NOTCH_Q_RANGE": {
|
|
90
|
+
"kind": "travels",
|
|
91
|
+
"doc": "The Q extent of a NOTCH band. Wider than EQ_Q_RANGE on purpose (#116, operator decision): an ultra-narrow surgical cut is the notch shape's whole point — the FBS ring-out pool plants dbx-AFS-style ring killers at Q ≈ 116 (~1/80 octave), inaudible on program yet fatal to a single ringing frequency. Gain-carrying shapes stay bounded at EQ_Q_RANGE — a Q-116 bell is a resonator, not an EQ move.",
|
|
92
|
+
"travel": {
|
|
93
|
+
"min": 0.3,
|
|
94
|
+
"max": 116,
|
|
95
|
+
"step": 1,
|
|
96
|
+
"unit": ""
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"HPF_FREQ_RANGE": {
|
|
100
|
+
"kind": "travels",
|
|
101
|
+
"doc": "Where the HPF cutoff can sit (low end); mirrors the drawn low-frequency handle.",
|
|
102
|
+
"travel": {
|
|
103
|
+
"min": 20,
|
|
104
|
+
"max": 1000,
|
|
105
|
+
"step": 10,
|
|
106
|
+
"unit": "Hz"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"LPF_FREQ_RANGE": {
|
|
110
|
+
"kind": "travels",
|
|
111
|
+
"doc": "Where the LPF cutoff can sit (high end).",
|
|
112
|
+
"travel": {
|
|
113
|
+
"min": 1000,
|
|
114
|
+
"max": 20000,
|
|
115
|
+
"step": 10,
|
|
116
|
+
"unit": "Hz"
|
|
117
|
+
}
|
|
58
118
|
}
|
|
59
119
|
}
|
package/data/kernels/reverb.json
CHANGED
|
@@ -11,5 +11,140 @@
|
|
|
11
11
|
"default": 100,
|
|
12
12
|
"defaultFrom": "desk"
|
|
13
13
|
}
|
|
14
|
+
},
|
|
15
|
+
"REVERB_MIX_RANGE": {
|
|
16
|
+
"kind": "travels",
|
|
17
|
+
"doc": "The REVERB's wet/dry. An insert keeps the dry signal (0.3); an `fxReturn` is wet-only (1), so the return carries only the effect. Both numbers live HERE and nowhere else: the row's `mix` limit, `ReverbController`'s seed and its fresh state read them through limitForKind.",
|
|
18
|
+
"travel": {
|
|
19
|
+
"min": 0,
|
|
20
|
+
"max": 1,
|
|
21
|
+
"step": 0,
|
|
22
|
+
"unit": "",
|
|
23
|
+
"default": 0.3,
|
|
24
|
+
"defaultFrom": "desk",
|
|
25
|
+
"byKind": {
|
|
26
|
+
"fxReturn": 1
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"REVERB_SIZE_RANGE": {
|
|
31
|
+
"kind": "travels",
|
|
32
|
+
"doc": "The reverb's SIZE/DAMPING/WIDTH — each a NORMALIZED_RANGE instance with its own come-up value, matching `DEFAULT_REVERB_STATE`. Three separate constants rather than one shared default on `NORMALIZED_RANGE`: that range is the bare 0..1 REPRESENTATION, reused by fields across the whole console whose come-up values disagree (a fader position is not a reverb's damping), so a default belongs on the NAMED field, never on the shape it borrows.",
|
|
33
|
+
"travel": {
|
|
34
|
+
"min": 0,
|
|
35
|
+
"max": 1,
|
|
36
|
+
"step": 0,
|
|
37
|
+
"unit": "",
|
|
38
|
+
"default": 0.7,
|
|
39
|
+
"defaultFrom": "desk"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"REVERB_DAMPING_RANGE": {
|
|
43
|
+
"kind": "travels",
|
|
44
|
+
"doc": "The reverb's DAMPING — a NORMALIZED_RANGE instance with its own come-up value, matching `DEFAULT_REVERB_STATE`. Declared with SIZE and WIDTH (see REVERB_SIZE_RANGE for why each is a named constant rather than a default on the shared 0..1 shape).",
|
|
45
|
+
"travel": {
|
|
46
|
+
"min": 0,
|
|
47
|
+
"max": 1,
|
|
48
|
+
"step": 0,
|
|
49
|
+
"unit": "",
|
|
50
|
+
"default": 0.5,
|
|
51
|
+
"defaultFrom": "desk"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"REVERB_WIDTH_RANGE": {
|
|
55
|
+
"kind": "travels",
|
|
56
|
+
"doc": "The reverb's stereo WIDTH — a NORMALIZED_RANGE instance with its own come-up value, matching `DEFAULT_REVERB_STATE`. Declared with SIZE and DAMPING (see REVERB_SIZE_RANGE for why each is a named constant rather than a default on the shared 0..1 shape).",
|
|
57
|
+
"travel": {
|
|
58
|
+
"min": 0,
|
|
59
|
+
"max": 1,
|
|
60
|
+
"step": 0,
|
|
61
|
+
"unit": "",
|
|
62
|
+
"default": 1,
|
|
63
|
+
"defaultFrom": "desk"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"REVERB_PREDELAY_RANGE": {
|
|
67
|
+
"kind": "travels",
|
|
68
|
+
"doc": "The reverb's PRE-DELAY travel — the gap before the first reflection, in milliseconds. Declared here so the unit crosses with the bounds: a `finiteNumber(0, 100)` codec publishes `unit: ''`, and a surface binding that draws a millisecond control it cannot label. The panel knowing better than the wire is the wrong way round.",
|
|
69
|
+
"travel": {
|
|
70
|
+
"min": 0,
|
|
71
|
+
"max": 100,
|
|
72
|
+
"step": 1,
|
|
73
|
+
"unit": "ms",
|
|
74
|
+
"default": 0,
|
|
75
|
+
"defaultFrom": "desk"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"REVERB_LOWCUT_RANGE": {
|
|
79
|
+
"kind": "travels",
|
|
80
|
+
"doc": "The reverb's LOW cut, as an instance of REVERB_CUT_RANGE — same bounds, its own come-up value. `0` reads as \"none\" (`mix_reverb.h`), which is also `DEFAULT_REVERB_STATE`'s seed, so a fresh reverb's low cut and its declared default are the same fact stated once. Split from REVERB_CUT_RANGE rather than adding `default` there: the low and high cut share ONE travel (the C imposes one constraint on both) but do NOT share one come-up value, and a `default` on the shared range could only be honest for one of the two fields that read it.",
|
|
81
|
+
"travel": {
|
|
82
|
+
"min": 0,
|
|
83
|
+
"max": 20000,
|
|
84
|
+
"step": 10,
|
|
85
|
+
"unit": "Hz",
|
|
86
|
+
"default": 0,
|
|
87
|
+
"defaultFrom": "desk"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"REVERB_HIGHCUT_RANGE": {
|
|
91
|
+
"kind": "travels",
|
|
92
|
+
"doc": "The reverb's HIGH cut, as an instance of REVERB_CUT_RANGE — same bounds, its own come-up value. The top of the travel reads as \"open\" (`mix_reverb.h`), matching `DEFAULT_REVERB_STATE`'s seed.",
|
|
93
|
+
"travel": {
|
|
94
|
+
"min": 0,
|
|
95
|
+
"max": 20000,
|
|
96
|
+
"step": 10,
|
|
97
|
+
"unit": "Hz",
|
|
98
|
+
"default": 20000,
|
|
99
|
+
"defaultFrom": "desk"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"REVERB_REVERSE_RANGE": {
|
|
103
|
+
"kind": "travels",
|
|
104
|
+
"doc": "REVERSE's MIRROR WINDOW — how long a slice of the wet is played backward, in milliseconds (`2026-07-15-native-delay-reverb.md`, Amendment 2026-09-17 §B). A DECLARED travel and never derived from `size`'s RT60: an RT60 of seconds cannot be buffered at 192 kHz, and a window silently clamped to fit is the silent-clamp defect. The ceiling is what `mix_reverb.h`'s pool budgets a ring for (`OMX_REVERB_REVERSE_MAX_MS`), so the console offers exactly the travel the kernel accepts — nothing wider, nothing narrower.",
|
|
105
|
+
"travel": {
|
|
106
|
+
"min": 50,
|
|
107
|
+
"max": 500,
|
|
108
|
+
"step": 10,
|
|
109
|
+
"unit": "ms",
|
|
110
|
+
"default": 300,
|
|
111
|
+
"defaultFrom": "desk"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"REVERB_HOLD_RANGE": {
|
|
115
|
+
"kind": "travels",
|
|
116
|
+
"doc": "GATED's HOLD — how long the wet stays at full level after the key falls away, in milliseconds. The Phil-Collins tail is cut where the operator puts the cut, so this is the control that decides the effect's length; `size` still decides what is being cut off.",
|
|
117
|
+
"travel": {
|
|
118
|
+
"min": 10,
|
|
119
|
+
"max": 2000,
|
|
120
|
+
"step": 10,
|
|
121
|
+
"unit": "ms",
|
|
122
|
+
"default": 120,
|
|
123
|
+
"defaultFrom": "desk"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"REVERB_RELEASE_RANGE": {
|
|
127
|
+
"kind": "travels",
|
|
128
|
+
"doc": "GATED's RELEASE — how long the held wet takes to reach zero, in milliseconds. A straight line down, short by design: a long release is a reverb tail again, which is the thing a gated reverb exists to remove.",
|
|
129
|
+
"travel": {
|
|
130
|
+
"min": 1,
|
|
131
|
+
"max": 500,
|
|
132
|
+
"step": 1,
|
|
133
|
+
"unit": "ms",
|
|
134
|
+
"default": 20,
|
|
135
|
+
"defaultFrom": "desk"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"REVERB_GATE_THRESHOLD_RANGE": {
|
|
139
|
+
"kind": "travels",
|
|
140
|
+
"doc": "GATED's ARM THRESHOLD — the level the reverb's own mono feed must reach to arm the hold, in dBFS. Declared, because the alternative is a hidden onset detector: the kernel compares `|input|` against exactly this number and nothing else.",
|
|
141
|
+
"travel": {
|
|
142
|
+
"min": -80,
|
|
143
|
+
"max": 0,
|
|
144
|
+
"step": 1,
|
|
145
|
+
"unit": "dBFS",
|
|
146
|
+
"default": -40,
|
|
147
|
+
"defaultFrom": "desk"
|
|
148
|
+
}
|
|
14
149
|
}
|
|
15
150
|
}
|
package/data/primitives.json
CHANGED
|
@@ -43,5 +43,79 @@
|
|
|
43
43
|
"ref": "FDELAY_MOD_READ_ORDER"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
+
},
|
|
47
|
+
"GATE_CONTINUOUS_TRAVELS": {
|
|
48
|
+
"kind": "travels",
|
|
49
|
+
"doc": "The gate's threshold, range, release and ratio as a plugin host draws them: GATE_LIMITS' bounds, units and defaults with no step. The console's row quantises these four to whole steps (1 dB, 10 ms, 1:1), and a travel whose step is 1 or more reads as an integer control; the omx-strip plugin has always offered them continuous, so it reads this table instead. Every number but the step is GATE_LIMITS', held equal by test/continuous-travels.test.mjs. Not rendered to C: no C reader needs a second spelling of the gate's bounds.",
|
|
50
|
+
"fields": {
|
|
51
|
+
"thresholdDb": {
|
|
52
|
+
"min": -80,
|
|
53
|
+
"max": 0,
|
|
54
|
+
"step": 0,
|
|
55
|
+
"unit": "dB",
|
|
56
|
+
"default": -40,
|
|
57
|
+
"defaultFrom": "desk"
|
|
58
|
+
},
|
|
59
|
+
"rangeDb": {
|
|
60
|
+
"min": -90,
|
|
61
|
+
"max": 0,
|
|
62
|
+
"step": 0,
|
|
63
|
+
"unit": "dB",
|
|
64
|
+
"default": -90,
|
|
65
|
+
"defaultFrom": "desk"
|
|
66
|
+
},
|
|
67
|
+
"releaseMs": {
|
|
68
|
+
"min": 0,
|
|
69
|
+
"max": 5000,
|
|
70
|
+
"step": 0,
|
|
71
|
+
"unit": "ms",
|
|
72
|
+
"default": 100,
|
|
73
|
+
"defaultFrom": "desk"
|
|
74
|
+
},
|
|
75
|
+
"ratio": {
|
|
76
|
+
"min": 1,
|
|
77
|
+
"max": 100,
|
|
78
|
+
"step": 0,
|
|
79
|
+
"unit": "",
|
|
80
|
+
"default": 16,
|
|
81
|
+
"defaultFrom": "desk"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"COMP_CONTINUOUS_TRAVELS": {
|
|
86
|
+
"kind": "travels",
|
|
87
|
+
"doc": "The compressor's threshold and release as a plugin host draws them: COMP_LIMITS' bounds, units and defaults with no step. The console's row quantises them to whole steps (1 dB, 10 ms), and a travel whose step is 1 or more reads as an integer control; the omx-strip plugin has always offered them continuous, so it reads this table instead. Every number but the step is COMP_LIMITS', held equal by test/continuous-travels.test.mjs. Not rendered to C: no C reader needs a second spelling of the compressor's bounds.",
|
|
88
|
+
"fields": {
|
|
89
|
+
"thresholdDb": {
|
|
90
|
+
"min": -60,
|
|
91
|
+
"max": 0,
|
|
92
|
+
"step": 0,
|
|
93
|
+
"unit": "dB",
|
|
94
|
+
"default": -18,
|
|
95
|
+
"defaultFrom": "desk"
|
|
96
|
+
},
|
|
97
|
+
"releaseMs": {
|
|
98
|
+
"min": 5,
|
|
99
|
+
"max": 3000,
|
|
100
|
+
"step": 0,
|
|
101
|
+
"unit": "ms",
|
|
102
|
+
"default": 200,
|
|
103
|
+
"defaultFrom": "desk"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"TRIM_TRAVELS": {
|
|
108
|
+
"kind": "travels",
|
|
109
|
+
"doc": "The digital input trim as a travel: openmixer's TRIM_RANGE (packages/declarations, -24..+24 dB in 0.1 dB steps, spelled minDb/maxDb/stepDb there and OMX_TRIM_RANGE_*_DB in omx-dsp's header), coming up at 0 dB, the trim a channel has when none is set. The omx-strip plugin's trim reads it. A table with the one field `trimDb`, the name the trim row and the plugin store; not rendered to C, which already spells TRIM_RANGE its own way.",
|
|
110
|
+
"fields": {
|
|
111
|
+
"trimDb": {
|
|
112
|
+
"min": -24,
|
|
113
|
+
"max": 24,
|
|
114
|
+
"step": 0.1,
|
|
115
|
+
"unit": "dB",
|
|
116
|
+
"default": 0,
|
|
117
|
+
"defaultFrom": "desk"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
46
120
|
}
|
|
47
121
|
}
|