@openmixer/omx-contract 1.3.0 → 2.1.0

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.
@@ -1,167 +1,184 @@
1
1
  {
2
2
  "$schema": "../../schema/omx-contract.schema.json",
3
- "REVERB_PLATE_MOD_DEPTH_RANGE": {
4
- "kind": "travels",
5
- "doc": "PLATE's tank MODULATION DEPTH, in percent of Dattorro's own excursion (±8 samples at his 29 761 Hz tuning rate, scaled to the live rate the way the tank lengths are). 100 is the depth the plate has always run at, so the come-up is bit-identical to the plate before the field; 0 brings back the unmodulated tank's ring; 400 is the wide, chorused EMT-style swing. The rate stays 1 Hz. Only PLATE reads it (`2026-09-26-native-fx-catalogue.md` §2, Reverb).",
6
- "travel": {
7
- "min": 0,
8
- "max": 400,
9
- "step": 1,
10
- "unit": "%",
11
- "default": 100,
12
- "defaultFrom": "desk"
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
3
+ "controls": [
4
+ {
5
+ "name": "plateModDepth",
6
+ "kind": "travel",
7
+ "doc": "PLATE's tank MODULATION DEPTH, in percent of Dattorro's own excursion (±8 samples at his 29 761 Hz tuning rate, scaled to the live rate the way the tank lengths are). 100 is the depth the plate has always run at, so the come-up is bit-identical to the plate before the field; 0 brings back the unmodulated tank's ring; 400 is the wide, chorused EMT-style swing. The rate stays 1 Hz. Only PLATE reads it (`2026-09-26-native-fx-catalogue.md` §2, Reverb).",
8
+ "travel": {
9
+ "min": 0,
10
+ "max": 400,
11
+ "step": 1,
12
+ "unit": "%",
13
+ "default": 100,
14
+ "defaultFrom": "desk"
27
15
  }
16
+ },
17
+ {
18
+ "name": "mix",
19
+ "kind": "travel",
20
+ "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.",
21
+ "travel": {
22
+ "min": 0,
23
+ "max": 1,
24
+ "step": 0,
25
+ "unit": "",
26
+ "default": 0.3,
27
+ "defaultFrom": "desk",
28
+ "byKind": {
29
+ "fxReturn": 1
30
+ }
31
+ }
32
+ },
33
+ {
34
+ "name": "size",
35
+ "kind": "travel",
36
+ "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.",
37
+ "travel": {
38
+ "min": 0,
39
+ "max": 1,
40
+ "step": 0,
41
+ "unit": "",
42
+ "default": 0.7,
43
+ "defaultFrom": "desk"
44
+ }
45
+ },
46
+ {
47
+ "name": "damping",
48
+ "kind": "travel",
49
+ "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).",
50
+ "travel": {
51
+ "min": 0,
52
+ "max": 1,
53
+ "step": 0,
54
+ "unit": "",
55
+ "default": 0.5,
56
+ "defaultFrom": "desk"
57
+ }
58
+ },
59
+ {
60
+ "name": "width",
61
+ "kind": "travel",
62
+ "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).",
63
+ "travel": {
64
+ "min": 0,
65
+ "max": 1,
66
+ "step": 0,
67
+ "unit": "",
68
+ "default": 1,
69
+ "defaultFrom": "desk"
70
+ }
71
+ },
72
+ {
73
+ "name": "predelay",
74
+ "kind": "travel",
75
+ "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.",
76
+ "travel": {
77
+ "min": 0,
78
+ "max": 100,
79
+ "step": 1,
80
+ "unit": "ms",
81
+ "default": 0,
82
+ "defaultFrom": "desk"
83
+ }
84
+ },
85
+ {
86
+ "name": "lowcut",
87
+ "kind": "travel",
88
+ "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.",
89
+ "travel": {
90
+ "min": 0,
91
+ "max": 20000,
92
+ "step": 10,
93
+ "unit": "Hz",
94
+ "default": 0,
95
+ "defaultFrom": "desk"
96
+ }
97
+ },
98
+ {
99
+ "name": "highcut",
100
+ "kind": "travel",
101
+ "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.",
102
+ "travel": {
103
+ "min": 0,
104
+ "max": 20000,
105
+ "step": 10,
106
+ "unit": "Hz",
107
+ "default": 20000,
108
+ "defaultFrom": "desk"
109
+ }
110
+ },
111
+ {
112
+ "name": "reverse",
113
+ "kind": "travel",
114
+ "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.",
115
+ "travel": {
116
+ "min": 50,
117
+ "max": 500,
118
+ "step": 10,
119
+ "unit": "ms",
120
+ "default": 300,
121
+ "defaultFrom": "desk"
122
+ }
123
+ },
124
+ {
125
+ "name": "hold",
126
+ "kind": "travel",
127
+ "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.",
128
+ "travel": {
129
+ "min": 10,
130
+ "max": 2000,
131
+ "step": 10,
132
+ "unit": "ms",
133
+ "default": 120,
134
+ "defaultFrom": "desk"
135
+ }
136
+ },
137
+ {
138
+ "name": "release",
139
+ "kind": "travel",
140
+ "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.",
141
+ "travel": {
142
+ "min": 1,
143
+ "max": 500,
144
+ "step": 1,
145
+ "unit": "ms",
146
+ "default": 20,
147
+ "defaultFrom": "desk"
148
+ }
149
+ },
150
+ {
151
+ "name": "gateThreshold",
152
+ "kind": "travel",
153
+ "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.",
154
+ "travel": {
155
+ "min": -80,
156
+ "max": 0,
157
+ "step": 1,
158
+ "unit": "dBFS",
159
+ "default": -40,
160
+ "defaultFrom": "desk"
161
+ }
162
+ },
163
+ {
164
+ "name": "algorithm",
165
+ "kind": "choice",
166
+ "doc": "The reverb's algorithms, in the order of the integer the kernel reads. Reverse and gated are the room network handed a window and a gate.",
167
+ "ids": [
168
+ "room",
169
+ "plate",
170
+ "hall",
171
+ "reverse",
172
+ "gated"
173
+ ]
28
174
  }
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,
175
+ ],
176
+ "constants": {
177
+ "REVERB_GATE_ATTACK_MS": {
178
+ "kind": "scalar",
179
+ "doc": "The gated reverb's gate attack, ms: the time the gate takes to open on a hit.",
133
180
  "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"
181
+ "value": 1.5
148
182
  }
149
- },
150
- "REVERB_ALGORITHMS": {
151
- "kind": "set",
152
- "doc": "The reverb's algorithms, in the order of the integer the kernel reads. Reverse and gated are the room network handed a window and a gate.",
153
- "ids": [
154
- "room",
155
- "plate",
156
- "hall",
157
- "reverse",
158
- "gated"
159
- ]
160
- },
161
- "REVERB_GATE_ATTACK_MS": {
162
- "kind": "scalar",
163
- "doc": "The gated reverb's gate attack, ms: the time the gate takes to open on a hit.",
164
- "unit": "ms",
165
- "value": 1.5
166
183
  }
167
184
  }