@openmixer/omx-contract 0.0.0 → 1.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.
- package/LICENSE +674 -0
- package/README.md +53 -5
- package/bin/omx-contract.mjs +175 -0
- package/data/kernels/chorus.json +15 -0
- package/data/kernels/comp.json +81 -0
- package/data/kernels/deesser.json +93 -0
- package/data/kernels/delay.json +66 -0
- package/data/kernels/drive.json +12 -0
- package/data/kernels/eq.json +59 -0
- package/data/kernels/flanger.json +51 -0
- package/data/kernels/gate.json +81 -0
- package/data/kernels/geq.json +33 -0
- package/data/kernels/limiter.json +33 -0
- package/data/kernels/phaser.json +109 -0
- package/data/kernels/pitch.json +35 -0
- package/data/kernels/reverb.json +15 -0
- package/data/kernels/rotary.json +186 -0
- package/data/kernels/transient.json +73 -0
- package/data/kernels/tremolo.json +54 -0
- package/data/primitives.json +47 -0
- package/data/rates.json +30 -0
- package/dist/ts/omx-contract.d.ts +1071 -0
- package/dist/ts/omx-contract.js +1117 -0
- package/include/omxcontract/omx_contract_limits.h +381 -0
- package/lib/data.mjs +159 -0
- package/lib/fmt.mjs +61 -0
- package/lib/semver.mjs +125 -0
- package/lib/validate.mjs +92 -0
- package/package.json +44 -4
- package/render/c/contract-limits-render.mjs +370 -0
- package/render/c/omx_plugin_param.h +25 -0
- package/render/c/params-generate.mjs +83 -0
- package/render/c.mjs +94 -0
- package/render/doors.mjs +63 -0
- package/render/json.mjs +16 -0
- package/render/ts.mjs +41 -0
- package/schema/omx-contract.schema.json +164 -0
- package/share/omx-contract/omx-contract.json +1202 -0
|
@@ -0,0 +1,1071 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
// Copyright (C) 2026 Pau Aliagas <linuxnow@gmail.com>
|
|
3
|
+
// GENERATED by `omx-contract render --target ts` from FreeMixer/omx-contract's data/ — do not edit.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The chorus's right-leg phase offset, in TURNS of its one oscillator (§2, §3a; the native-FX catalogue's M32 Dimension row). The right leg's voice k reads the LFO at k/N + spread: 0 is both legs one phase (the stage without the field, bit for bit), 0.25 quadrature, 0.5 the Dimension's opposed sweep. A fraction of a cycle carries no engineering symbol, so the unit is ''.
|
|
7
|
+
* @see data/kernels/chorus.json
|
|
8
|
+
*/
|
|
9
|
+
export declare const CHORUS_SPREAD_RANGE: {
|
|
10
|
+
readonly min: 0;
|
|
11
|
+
readonly max: 0.5;
|
|
12
|
+
readonly step: 0.01;
|
|
13
|
+
readonly unit: "";
|
|
14
|
+
readonly default: 0;
|
|
15
|
+
readonly defaultFrom: "desk";
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The legal range of each compressor field (engineering units). The widget clamps drags to these, `normalizeComp` enforces them, the row's codec refuses by them and the travel sheet publishes them. `default`/`defaultFrom` are the come-up values `defaultCompState` seeds a fresh strip with, read BACK from here rather than restated there.
|
|
20
|
+
* @see data/kernels/comp.json
|
|
21
|
+
*/
|
|
22
|
+
export declare const COMP_LIMITS: {
|
|
23
|
+
readonly thresholdDb: {
|
|
24
|
+
readonly min: -60;
|
|
25
|
+
readonly max: 0;
|
|
26
|
+
readonly step: 1;
|
|
27
|
+
readonly unit: "dB";
|
|
28
|
+
readonly default: -18;
|
|
29
|
+
readonly defaultFrom: "desk";
|
|
30
|
+
};
|
|
31
|
+
readonly ratio: {
|
|
32
|
+
readonly min: 1;
|
|
33
|
+
readonly max: 20;
|
|
34
|
+
readonly step: 0.5;
|
|
35
|
+
readonly unit: "";
|
|
36
|
+
readonly default: 4;
|
|
37
|
+
readonly defaultFrom: "desk";
|
|
38
|
+
};
|
|
39
|
+
readonly kneeDb: {
|
|
40
|
+
readonly min: 0;
|
|
41
|
+
readonly max: 24;
|
|
42
|
+
readonly step: 0.5;
|
|
43
|
+
readonly unit: "dB";
|
|
44
|
+
readonly default: 6;
|
|
45
|
+
readonly defaultFrom: "desk";
|
|
46
|
+
};
|
|
47
|
+
readonly attackMs: {
|
|
48
|
+
readonly min: 0.1;
|
|
49
|
+
readonly max: 100;
|
|
50
|
+
readonly step: 1;
|
|
51
|
+
readonly unit: "ms";
|
|
52
|
+
readonly default: 5;
|
|
53
|
+
readonly defaultFrom: "desk";
|
|
54
|
+
};
|
|
55
|
+
readonly releaseMs: {
|
|
56
|
+
readonly min: 5;
|
|
57
|
+
readonly max: 3000;
|
|
58
|
+
readonly step: 10;
|
|
59
|
+
readonly unit: "ms";
|
|
60
|
+
readonly default: 200;
|
|
61
|
+
readonly defaultFrom: "desk";
|
|
62
|
+
};
|
|
63
|
+
readonly makeupDb: {
|
|
64
|
+
readonly min: 0;
|
|
65
|
+
readonly max: 24;
|
|
66
|
+
readonly step: 0.5;
|
|
67
|
+
readonly unit: "dB";
|
|
68
|
+
readonly default: 0;
|
|
69
|
+
readonly defaultFrom: "desk";
|
|
70
|
+
};
|
|
71
|
+
readonly mixPct: {
|
|
72
|
+
readonly min: 0;
|
|
73
|
+
readonly max: 100;
|
|
74
|
+
readonly step: 5;
|
|
75
|
+
readonly unit: "%";
|
|
76
|
+
readonly default: 100;
|
|
77
|
+
readonly defaultFrom: "desk";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The program-dependent release's model constants — the LA-2A's opto cell as DATA (`docs/design/specs/2026-09-26-compressor-models.md` §3b). `chargeMs`/`dischargeMs` are the word's memory constants, shared by every profile; each profile's `fastMs`, `slowMinMs`, `slowMaxMs` and `share` fit the unit's published two-stage recovery. Not operator controls: generated into `omx_contract_limits.h` as `OMX_PROGRAM_RELEASE_*`, which libomxdsp's `omx_env_program_release` reads.
|
|
83
|
+
* @see data/kernels/comp.json
|
|
84
|
+
*/
|
|
85
|
+
export declare const PROGRAM_RELEASE: {
|
|
86
|
+
readonly chargeMs: 1000;
|
|
87
|
+
readonly dischargeMs: 5000;
|
|
88
|
+
readonly profiles: {
|
|
89
|
+
readonly opto: {
|
|
90
|
+
readonly fastMs: 70;
|
|
91
|
+
readonly slowMinMs: 110;
|
|
92
|
+
readonly slowMaxMs: 1100;
|
|
93
|
+
readonly share: 0.5;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The detector band's CENTRE, in Hz. Sibilance lives at 5–10 kHz on most voices; 7 kHz with the default width covers 4 950–9 900 Hz, which is where an "s" and a "t" sit on a close vocal mic. The travel is wider than the come-up on both sides on purpose: a bright female vocal wants the band up near 9 kHz and a chesty male one down at 5, and a surface narrower than the row removes reach the console genuinely has (the same reasoning core's `REVERB_CUT_RANGE` records).
|
|
100
|
+
* @see data/kernels/deesser.json
|
|
101
|
+
*/
|
|
102
|
+
export declare const DEESS_FREQ_RANGE: {
|
|
103
|
+
readonly min: 2000;
|
|
104
|
+
readonly max: 16000;
|
|
105
|
+
readonly step: 10;
|
|
106
|
+
readonly unit: "Hz";
|
|
107
|
+
readonly default: 7000;
|
|
108
|
+
readonly defaultFrom: "desk";
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The band's WIDTH, in OCTAVES around the centre: the edges are `f / 2^(w/2)` and `f · 2^(w/2)`, which is what makes the centre the geometric middle at every width. Octaves and not a Q, because a Q is a property of one section and this band is TWO (a highpass and a lowpass, `mix_deesser.h`) — an operator asked to dial a Q would be dialling a number neither filter carries. One octave is the classic de-esser band: wide enough for a sibilant that moves with the vowel, narrow enough that a 1 kHz vowel sits 27.8 dB down the skirt.
|
|
113
|
+
* @see data/kernels/deesser.json
|
|
114
|
+
*/
|
|
115
|
+
export declare const DEESS_WIDTH_RANGE: {
|
|
116
|
+
readonly min: 0.25;
|
|
117
|
+
readonly max: 4;
|
|
118
|
+
readonly step: 0.05;
|
|
119
|
+
readonly unit: "oct";
|
|
120
|
+
readonly default: 1;
|
|
121
|
+
readonly defaultFrom: "desk";
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Where reduction starts — the level of the BAND, not of the strip, which is why the come-up is so much lower than the compressor's. A vocal peaking −12 dBFS carries roughly −30 dBFS in a one-octave band at 7 kHz on its sibilants and under −40 on its vowels, so −30 sits between the two and the stage opens on an "s" and stays shut on an "ah".
|
|
126
|
+
* @see data/kernels/deesser.json
|
|
127
|
+
*/
|
|
128
|
+
export declare const DEESS_THRESHOLD_RANGE: {
|
|
129
|
+
readonly min: -60;
|
|
130
|
+
readonly max: 0;
|
|
131
|
+
readonly step: 0.5;
|
|
132
|
+
readonly unit: "dB";
|
|
133
|
+
readonly default: -30;
|
|
134
|
+
readonly defaultFrom: "desk";
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* How hard the band is held once it is over the threshold. 4:1 is the textbook de-esser ratio: firm on the "s", short of a limiter.
|
|
139
|
+
* @see data/kernels/deesser.json
|
|
140
|
+
*/
|
|
141
|
+
export declare const DEESS_RATIO_RANGE: {
|
|
142
|
+
readonly min: 1;
|
|
143
|
+
readonly max: 20;
|
|
144
|
+
readonly step: 0.1;
|
|
145
|
+
readonly unit: "";
|
|
146
|
+
readonly default: 4;
|
|
147
|
+
readonly defaultFrom: "desk";
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The FLOOR on the reduction, in dB and never positive — the deepest cut the stage may reach however loud the sibilant is (`mix_deesser.h`'s clamp, §4c). 12 dB tames a hard sibilant; past that a voice starts to lisp, and a de-esser with NO floor turns a shouted "s" into a hole. The ceiling is 0, which switches the reduction off without switching the stage off — a legitimate thing to want while dialling the band in by ear.
|
|
152
|
+
* @see data/kernels/deesser.json
|
|
153
|
+
*/
|
|
154
|
+
export declare const DEESS_RANGE_RANGE: {
|
|
155
|
+
readonly min: -24;
|
|
156
|
+
readonly max: 0;
|
|
157
|
+
readonly step: 0.5;
|
|
158
|
+
readonly unit: "dB";
|
|
159
|
+
readonly default: -12;
|
|
160
|
+
readonly defaultFrom: "desk";
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* The detector's ATTACK, in ms. A sibilant's onset is a few milliseconds; 1 ms catches it without the detector chattering on the band's own waveform.
|
|
165
|
+
* @see data/kernels/deesser.json
|
|
166
|
+
*/
|
|
167
|
+
export declare const DEESS_ATTACK_RANGE: {
|
|
168
|
+
readonly min: 0.1;
|
|
169
|
+
readonly max: 50;
|
|
170
|
+
readonly step: 0.1;
|
|
171
|
+
readonly unit: "ms";
|
|
172
|
+
readonly default: 1;
|
|
173
|
+
readonly defaultFrom: "desk";
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* The detector's RELEASE, in ms. 60 ms is long enough not to modulate inside one "s" and short enough to be open again for the next syllable.
|
|
178
|
+
* @see data/kernels/deesser.json
|
|
179
|
+
*/
|
|
180
|
+
export declare const DEESS_RELEASE_RANGE: {
|
|
181
|
+
readonly min: 5;
|
|
182
|
+
readonly max: 500;
|
|
183
|
+
readonly step: 1;
|
|
184
|
+
readonly unit: "ms";
|
|
185
|
+
readonly default: 60;
|
|
186
|
+
readonly defaultFrom: "desk";
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* The knee, in dB — a CONSTANT of the stage and not a row field (`2026-09-22-native-deesser-stage.md` §4b): a de-esser without a soft knee latches audibly on the first sibilant of a phrase, and no other value of this number is a de-esser anyone would dial. The controller pushes it to the node and this is the same number; a second spelling would be a picture that disagrees with the audio about where the reduction starts.
|
|
191
|
+
* @see data/kernels/deesser.json
|
|
192
|
+
*/
|
|
193
|
+
export declare const DEESS_KNEE_DB: 6;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The FX delay's time travel. `max` is the NATIVE ring's ceiling — the same number as `OMX_FXDELAY_MAX_MS` in `omx_delay.h`, pinned to it by `output-delay-ceiling.test.ts`. Distinct from the per-route ALIGNMENT delay (`OUTPUT_DELAY_RANGE`, 1 s, `OMX_DELAY_MAX_MS`): one is a musical echo with feedback and mix, the other is a pure latency. Two facts, two rings, two ceilings — sharing the word "delay" is why they keep being confused for each other.
|
|
197
|
+
* @see data/kernels/delay.json
|
|
198
|
+
*/
|
|
199
|
+
export declare const FX_DELAY_TIME_RANGE: {
|
|
200
|
+
readonly min: 0;
|
|
201
|
+
readonly max: 2000;
|
|
202
|
+
readonly step: 1;
|
|
203
|
+
readonly unit: "ms";
|
|
204
|
+
readonly default: 300;
|
|
205
|
+
readonly defaultFrom: "desk";
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* The FX delay's REGENERATION travel — how much of the wet tail feeds back in. Stops short of 1: unity feedback is a runaway the kernel hard-clamps anyway, so offering it would draw travel the DSP refuses. Not NORMALIZED_RANGE for exactly that reason — it is a 0..1 quantity whose top the DSP does not accept, and a control must not offer a value its actuator will eat.
|
|
210
|
+
* @see data/kernels/delay.json
|
|
211
|
+
*/
|
|
212
|
+
export declare const FX_DELAY_FEEDBACK_RANGE: {
|
|
213
|
+
readonly min: 0;
|
|
214
|
+
readonly max: 0.99;
|
|
215
|
+
readonly step: 0;
|
|
216
|
+
readonly unit: "";
|
|
217
|
+
readonly default: 0.3;
|
|
218
|
+
readonly defaultFrom: "desk";
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The FX delay's TONE — a NORMALIZED_RANGE instance with its own come-up value, matching `DEFAULT_DELAY_STATE.tone`. See REVERB_SIZE_RANGE for why this is a named constant rather than a default on the shared shape.
|
|
223
|
+
* @see data/kernels/delay.json
|
|
224
|
+
*/
|
|
225
|
+
export declare const DELAY_TONE_RANGE: {
|
|
226
|
+
readonly min: 0;
|
|
227
|
+
readonly max: 1;
|
|
228
|
+
readonly step: 0;
|
|
229
|
+
readonly unit: "";
|
|
230
|
+
readonly default: 0.3;
|
|
231
|
+
readonly defaultFrom: "desk";
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* The FX DELAY's wet/dry — the same split as REVERB_MIX_RANGE, its own declaration.
|
|
236
|
+
* @see data/kernels/delay.json
|
|
237
|
+
*/
|
|
238
|
+
export declare const DELAY_MIX_RANGE: {
|
|
239
|
+
readonly min: 0;
|
|
240
|
+
readonly max: 1;
|
|
241
|
+
readonly step: 0;
|
|
242
|
+
readonly unit: "";
|
|
243
|
+
readonly default: 0.3;
|
|
244
|
+
readonly defaultFrom: "desk";
|
|
245
|
+
readonly byKind: {
|
|
246
|
+
readonly fxReturn: 1;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* The FX delay's PING-PONG come-up value — a toggle, so it has no travel, only this. Declared here rather than as a literal in the server's `DEFAULT_DELAY_STATE` (which now reads it) so the DPF plugin generator (`packages/omx-plugins/tools/params-gen.mjs`, `2026-09-25-omx-plugins-dpf.md` §3a) reads the same fact the desk seeds a fresh strip with.
|
|
252
|
+
* @see data/kernels/delay.json
|
|
253
|
+
*/
|
|
254
|
+
export declare const FX_DELAY_PINGPONG_DEFAULT: false;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* The bias at `character = +1`, in the SHAPER's own input units — `OMX_DRIVE_BIAS_MAX`. DERIVED, not chosen (§4b). In the saturating limit every knee tends to `sgn`, the output is a rectangular wave of duty `d = ½ + asin(b)/π`, and its `n`th harmonic goes as `sin(nπd)/n` — so `|H2|` is maximal at `d = ¾`, which is `b = sin(π/4) = 1/√2` exactly. Measured too: the H2-maximising bias for a full-scale sine at unity drive is 0.712 (soft), 0.658 (tape), 0.645 (tube), and this one value costs 0.000 / 0.035 / 0.088 dB of H2 against each curve's own optimum. ONE normalised bias for all three knees, not three.
|
|
258
|
+
* @see data/kernels/drive.json
|
|
259
|
+
*/
|
|
260
|
+
export declare const DRIVE_BIAS_MAX: 0.7071067811865476;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* The maximum number of parametric bands a channel EQ may hold — the operator can add up to this many. Generated into `omx_contract_limits.h` as `OMX_EQ_MAX_BANDS`, which `omx_biquad.h` reads (`output-delay-ceiling.test.ts` reads the header): the native lane allocates exactly this many biquad slots per channel and silently clamps above it, so the model, the wire, and the DSP agree by test, not by memory.
|
|
264
|
+
* @see data/kernels/eq.json
|
|
265
|
+
*/
|
|
266
|
+
export declare const EQ_MAX_BANDS: 24;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* The standard ISO 266 one-third-octave centre frequencies, 20 Hz–20 kHz (31 bands) — the classic 31-band graphic-EQ layout's centres.
|
|
270
|
+
* @see data/kernels/eq.json
|
|
271
|
+
*/
|
|
272
|
+
export declare const ISO_THIRD_OCTAVE_CENTRES_HZ: readonly [20, 25, 31.5, 40, 50, 63, 80, 100, 125, 160, 200, 250, 315, 400, 500, 630, 800, 1000, 1250, 1600, 2000, 2500, 3150, 4000, 5000, 6300, 8000, 10000, 12500, 16000, 20000];
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The graphic EQ's section count: DERIVED from ISO_THIRD_OCTAVE_CENTRES_HZ, never a second literal. Generated into `omx_contract_limits.h` as `OMX_GEQ_BANDS`, which sizes `mix_geq.h`'s section array — its OWN budget, never a claimant on EQ_MAX_BANDS (graphic-eq-31 spec §3, roster ruling 3).
|
|
276
|
+
* @see data/kernels/eq.json
|
|
277
|
+
*/
|
|
278
|
+
export declare const GEQ_BANDS: 31;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* The flanger's jet sweep (§3b).
|
|
282
|
+
* @see data/kernels/flanger.json
|
|
283
|
+
*/
|
|
284
|
+
export declare const FLANGER_RATE_RANGE: {
|
|
285
|
+
readonly min: 0.05;
|
|
286
|
+
readonly max: 5;
|
|
287
|
+
readonly step: 0.01;
|
|
288
|
+
readonly unit: "Hz";
|
|
289
|
+
readonly default: 0.25;
|
|
290
|
+
readonly defaultFrom: "desk";
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* The flanger's peak-to-peak excursion above its declared 0.5 ms base (§3b).
|
|
295
|
+
* @see data/kernels/flanger.json
|
|
296
|
+
*/
|
|
297
|
+
export declare const FLANGER_DEPTH_RANGE: {
|
|
298
|
+
readonly min: 0;
|
|
299
|
+
readonly max: 5;
|
|
300
|
+
readonly step: 0.1;
|
|
301
|
+
readonly unit: "ms";
|
|
302
|
+
readonly default: 2;
|
|
303
|
+
readonly defaultFrom: "desk";
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* The flanger's SIGNED resonance (§3b). The ±0.95 clamp is DECLARED here — a PATCH asking for 1.0 is answered by this travel — and the kernel's own clamp is the enforcement half.
|
|
308
|
+
* @see data/kernels/flanger.json
|
|
309
|
+
*/
|
|
310
|
+
export declare const FLANGER_FEEDBACK_RANGE: {
|
|
311
|
+
readonly min: -0.95;
|
|
312
|
+
readonly max: 0.95;
|
|
313
|
+
readonly step: 0.01;
|
|
314
|
+
readonly unit: "";
|
|
315
|
+
readonly default: 0.6;
|
|
316
|
+
readonly defaultFrom: "desk";
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* The flanger's wet/dry, as an instance of DRIVE_MIX_RANGE: 50 %, equal dry and wet, where the comb is deepest (§3b).
|
|
321
|
+
* @see data/kernels/flanger.json
|
|
322
|
+
*/
|
|
323
|
+
export declare const FLANGER_MIX_RANGE: {
|
|
324
|
+
readonly min: 0;
|
|
325
|
+
readonly max: 100;
|
|
326
|
+
readonly step: 0.1;
|
|
327
|
+
readonly unit: "%";
|
|
328
|
+
readonly default: 50;
|
|
329
|
+
readonly defaultFrom: "desk";
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The legal range of each gate field (engineering units). The widget clamps drags to these, `normalizeGate` enforces them, the row's codec refuses by them and the travel sheet publishes them — one source of truth. `rangeDb` reaches GATE_RANGE_FLOOR_DB, shown as "−∞" in readouts (a gate fully closed is silence).
|
|
334
|
+
* @see data/kernels/gate.json
|
|
335
|
+
*/
|
|
336
|
+
export declare const GATE_LIMITS: {
|
|
337
|
+
readonly thresholdDb: {
|
|
338
|
+
readonly min: -80;
|
|
339
|
+
readonly max: 0;
|
|
340
|
+
readonly step: 1;
|
|
341
|
+
readonly unit: "dB";
|
|
342
|
+
readonly default: -40;
|
|
343
|
+
readonly defaultFrom: "desk";
|
|
344
|
+
};
|
|
345
|
+
readonly rangeDb: {
|
|
346
|
+
readonly min: -90;
|
|
347
|
+
readonly max: 0;
|
|
348
|
+
readonly step: 1;
|
|
349
|
+
readonly unit: "dB";
|
|
350
|
+
readonly default: -90;
|
|
351
|
+
readonly defaultFrom: "desk";
|
|
352
|
+
};
|
|
353
|
+
readonly kneeStartDb: {
|
|
354
|
+
readonly min: -80;
|
|
355
|
+
readonly max: 0;
|
|
356
|
+
readonly step: 1;
|
|
357
|
+
readonly unit: "dB";
|
|
358
|
+
readonly default: -43;
|
|
359
|
+
readonly defaultFrom: "desk";
|
|
360
|
+
};
|
|
361
|
+
readonly kneeEndDb: {
|
|
362
|
+
readonly min: -80;
|
|
363
|
+
readonly max: 0;
|
|
364
|
+
readonly step: 1;
|
|
365
|
+
readonly unit: "dB";
|
|
366
|
+
readonly default: -37;
|
|
367
|
+
readonly defaultFrom: "desk";
|
|
368
|
+
};
|
|
369
|
+
readonly attackMs: {
|
|
370
|
+
readonly min: 0;
|
|
371
|
+
readonly max: 500;
|
|
372
|
+
readonly step: 0.5;
|
|
373
|
+
readonly unit: "ms";
|
|
374
|
+
readonly default: 1;
|
|
375
|
+
readonly defaultFrom: "desk";
|
|
376
|
+
};
|
|
377
|
+
readonly holdMs: {
|
|
378
|
+
readonly min: 0;
|
|
379
|
+
readonly max: 2000;
|
|
380
|
+
readonly step: 5;
|
|
381
|
+
readonly unit: "ms";
|
|
382
|
+
readonly default: 10;
|
|
383
|
+
readonly defaultFrom: "desk";
|
|
384
|
+
};
|
|
385
|
+
readonly releaseMs: {
|
|
386
|
+
readonly min: 0;
|
|
387
|
+
readonly max: 5000;
|
|
388
|
+
readonly step: 10;
|
|
389
|
+
readonly unit: "ms";
|
|
390
|
+
readonly default: 100;
|
|
391
|
+
readonly defaultFrom: "desk";
|
|
392
|
+
};
|
|
393
|
+
readonly hysteresisDb: {
|
|
394
|
+
readonly min: 0;
|
|
395
|
+
readonly max: 24;
|
|
396
|
+
readonly step: 0.5;
|
|
397
|
+
readonly unit: "dB";
|
|
398
|
+
readonly default: 3;
|
|
399
|
+
readonly defaultFrom: "desk";
|
|
400
|
+
};
|
|
401
|
+
readonly ratio: {
|
|
402
|
+
readonly min: 1;
|
|
403
|
+
readonly max: 100;
|
|
404
|
+
readonly step: 1;
|
|
405
|
+
readonly unit: "";
|
|
406
|
+
readonly default: 16;
|
|
407
|
+
readonly defaultFrom: "desk";
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* One graphic-EQ fader's travel: EQ_GAIN_RANGE by reference (a graphic fader is an EQ gain), with the come-up value it needs as a row field — flat, 0 dB (graphic-eq-31 spec §3).
|
|
413
|
+
* @see data/kernels/geq.json
|
|
414
|
+
*/
|
|
415
|
+
export declare const GEQ_BAND_RANGE: {
|
|
416
|
+
readonly min: -15;
|
|
417
|
+
readonly max: 15;
|
|
418
|
+
readonly step: 0.5;
|
|
419
|
+
readonly unit: "dB";
|
|
420
|
+
readonly default: 0;
|
|
421
|
+
readonly defaultFrom: "desk";
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* The graphic EQ's band Q: the ISO third-octave bandwidth, `2^(1/6)/(2^(1/3) − 1) ≈ 4.318`, to one decimal as the M32 GEQ carries it. Read by the `geq31` preset and the graphic EQ's section design (graphic-eq-31 spec §3).
|
|
426
|
+
* @see data/kernels/geq.json
|
|
427
|
+
*/
|
|
428
|
+
export declare const GEQ_BAND_Q: 4.3;
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* The prototype gain the `true` solve's first interaction matrix is evaluated at (spec §2, §3): the middle of the travel's magnitude, where a matched-Z section's dB response per dB of gain is closest to its average.
|
|
432
|
+
* @see data/kernels/geq.json
|
|
433
|
+
*/
|
|
434
|
+
export declare const GEQ_PROTO_DB: 12;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* The ceiling on a section gain the `true` solve may ask for (spec §3): above the travel's worst case (26.0 dB, the alternating ±15 set) with margin. A solve past it clamps and the row says so (`designClamped`), never silently.
|
|
438
|
+
* @see data/kernels/geq.json
|
|
439
|
+
*/
|
|
440
|
+
export declare const GEQ_DESIGN_GAIN_MAX_DB: 30;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* The precision limiter's travels (`2026-09-27-precision-limiter.md` §2), rendered into `omx_contract_limits.h` as `OMX_LIMITER_*` by `harness/contract-limits-gen.mjs`, so `mix_limiter.h` reads them and never restates one (R-094). The ceiling is a TRUE peak in dBFS (the ×4 detector); the look-ahead sets the declared latency; the release is the envelope's time constant on the gain depth.
|
|
444
|
+
* @see data/kernels/limiter.json
|
|
445
|
+
*/
|
|
446
|
+
export declare const LIMITER_LIMITS: {
|
|
447
|
+
readonly ceilingDb: {
|
|
448
|
+
readonly min: -12;
|
|
449
|
+
readonly max: 0;
|
|
450
|
+
readonly step: 0.1;
|
|
451
|
+
readonly unit: "dBFS";
|
|
452
|
+
readonly default: -1;
|
|
453
|
+
readonly defaultFrom: "desk";
|
|
454
|
+
};
|
|
455
|
+
readonly lookaheadMs: {
|
|
456
|
+
readonly min: 0.5;
|
|
457
|
+
readonly max: 5;
|
|
458
|
+
readonly step: 0.1;
|
|
459
|
+
readonly unit: "ms";
|
|
460
|
+
readonly default: 1.5;
|
|
461
|
+
readonly defaultFrom: "desk";
|
|
462
|
+
};
|
|
463
|
+
readonly releaseMs: {
|
|
464
|
+
readonly min: 1;
|
|
465
|
+
readonly max: 1000;
|
|
466
|
+
readonly step: 1;
|
|
467
|
+
readonly unit: "ms";
|
|
468
|
+
readonly default: 50;
|
|
469
|
+
readonly defaultFrom: "desk";
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* The phaser's sweep speed (§3). `omx_lfo_inc` freezes at Nyquist; this travel stays far below.
|
|
475
|
+
* @see data/kernels/phaser.json
|
|
476
|
+
*/
|
|
477
|
+
export declare const PHASER_RATE_RANGE: {
|
|
478
|
+
readonly min: 0.05;
|
|
479
|
+
readonly max: 5;
|
|
480
|
+
readonly step: 0.01;
|
|
481
|
+
readonly unit: "Hz";
|
|
482
|
+
readonly default: 0.5;
|
|
483
|
+
readonly defaultFrom: "desk";
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The phaser's lowest centre frequency; the sweep runs upward from it (§3).
|
|
488
|
+
* @see data/kernels/phaser.json
|
|
489
|
+
*/
|
|
490
|
+
export declare const PHASER_BASE_RANGE: {
|
|
491
|
+
readonly min: 50;
|
|
492
|
+
readonly max: 2000;
|
|
493
|
+
readonly step: 1;
|
|
494
|
+
readonly unit: "Hz";
|
|
495
|
+
readonly default: 200;
|
|
496
|
+
readonly defaultFrom: "desk";
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* The sweep's span above `base`, in octaves; 0 is a static phaser at `base` (§3).
|
|
501
|
+
* @see data/kernels/phaser.json
|
|
502
|
+
*/
|
|
503
|
+
export declare const PHASER_DEPTH_RANGE: {
|
|
504
|
+
readonly min: 0;
|
|
505
|
+
readonly max: 6;
|
|
506
|
+
readonly step: 0.1;
|
|
507
|
+
readonly unit: "oct";
|
|
508
|
+
readonly default: 4;
|
|
509
|
+
readonly defaultFrom: "desk";
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* The phaser's section count per leg — EVEN, 2 … 12 (§2: two sections per notch). Its ends are the kernel's state capacity (`OMX_PHASER_MAX_STAGES` reads `OMX_PHASER_STAGES_RANGE_MAX`); the row moves it through the closed member set PHASER_STAGE_COUNTS, which is derived from it.
|
|
514
|
+
* @see data/kernels/phaser.json
|
|
515
|
+
*/
|
|
516
|
+
export declare const PHASER_STAGES_RANGE: {
|
|
517
|
+
readonly min: 2;
|
|
518
|
+
readonly max: 12;
|
|
519
|
+
readonly step: 2;
|
|
520
|
+
readonly unit: "";
|
|
521
|
+
readonly default: 6;
|
|
522
|
+
readonly defaultFrom: "desk";
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* The member set the `stages` field accepts: PHASER_STAGES_RANGE walked by its step.
|
|
527
|
+
* @see data/kernels/phaser.json
|
|
528
|
+
*/
|
|
529
|
+
export declare const PHASER_STAGE_COUNTS: readonly [2, 4, 6, 8, 10, 12];
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* The phaser's SIGNED resonance (§3). ±0.9, tighter than the flanger's ±0.95: the loop runs through a time-varying chain. Declared here (the refusal half); the kernel's clamp is the enforcement half.
|
|
533
|
+
* @see data/kernels/phaser.json
|
|
534
|
+
*/
|
|
535
|
+
export declare const PHASER_FEEDBACK_RANGE: {
|
|
536
|
+
readonly min: -0.9;
|
|
537
|
+
readonly max: 0.9;
|
|
538
|
+
readonly step: 0.01;
|
|
539
|
+
readonly unit: "";
|
|
540
|
+
readonly default: 0.4;
|
|
541
|
+
readonly defaultFrom: "desk";
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* The phaser's wet/dry, as an instance of DRIVE_MIX_RANGE: 50 %, where the notch is complete (§3).
|
|
546
|
+
* @see data/kernels/phaser.json
|
|
547
|
+
*/
|
|
548
|
+
export declare const PHASER_MIX_RANGE: {
|
|
549
|
+
readonly min: 0;
|
|
550
|
+
readonly max: 100;
|
|
551
|
+
readonly step: 0.1;
|
|
552
|
+
readonly unit: "%";
|
|
553
|
+
readonly default: 50;
|
|
554
|
+
readonly defaultFrom: "desk";
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* The phaser's continuous travels by row field — the ONE map its control bounds and its row travels both read (§3). `stages` is not here: it moves through PHASER_STAGE_COUNTS.
|
|
559
|
+
* @see data/kernels/phaser.json
|
|
560
|
+
*/
|
|
561
|
+
export declare const PHASER_TRAVELS: {
|
|
562
|
+
readonly rateHz: {
|
|
563
|
+
readonly min: 0.05;
|
|
564
|
+
readonly max: 5;
|
|
565
|
+
readonly step: 0.01;
|
|
566
|
+
readonly unit: "Hz";
|
|
567
|
+
readonly default: 0.5;
|
|
568
|
+
readonly defaultFrom: "desk";
|
|
569
|
+
};
|
|
570
|
+
readonly baseHz: {
|
|
571
|
+
readonly min: 50;
|
|
572
|
+
readonly max: 2000;
|
|
573
|
+
readonly step: 1;
|
|
574
|
+
readonly unit: "Hz";
|
|
575
|
+
readonly default: 200;
|
|
576
|
+
readonly defaultFrom: "desk";
|
|
577
|
+
};
|
|
578
|
+
readonly depthOct: {
|
|
579
|
+
readonly min: 0;
|
|
580
|
+
readonly max: 6;
|
|
581
|
+
readonly step: 0.1;
|
|
582
|
+
readonly unit: "oct";
|
|
583
|
+
readonly default: 4;
|
|
584
|
+
readonly defaultFrom: "desk";
|
|
585
|
+
};
|
|
586
|
+
readonly feedback: {
|
|
587
|
+
readonly min: -0.9;
|
|
588
|
+
readonly max: 0.9;
|
|
589
|
+
readonly step: 0.01;
|
|
590
|
+
readonly unit: "";
|
|
591
|
+
readonly default: 0.4;
|
|
592
|
+
readonly defaultFrom: "desk";
|
|
593
|
+
};
|
|
594
|
+
readonly mix: {
|
|
595
|
+
readonly min: 0;
|
|
596
|
+
readonly max: 100;
|
|
597
|
+
readonly step: 0.1;
|
|
598
|
+
readonly unit: "%";
|
|
599
|
+
readonly default: 50;
|
|
600
|
+
readonly defaultFrom: "desk";
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* PITCH_LIMITS, moved from openmixer.
|
|
606
|
+
* @see data/kernels/pitch.json
|
|
607
|
+
*/
|
|
608
|
+
export declare const PITCH_LIMITS: {
|
|
609
|
+
readonly semitones: {
|
|
610
|
+
readonly min: -12;
|
|
611
|
+
readonly max: 12;
|
|
612
|
+
readonly default: 0;
|
|
613
|
+
};
|
|
614
|
+
readonly cents: {
|
|
615
|
+
readonly min: -50;
|
|
616
|
+
readonly max: 50;
|
|
617
|
+
readonly default: 0;
|
|
618
|
+
};
|
|
619
|
+
readonly mix: {
|
|
620
|
+
readonly min: 0;
|
|
621
|
+
readonly max: 100;
|
|
622
|
+
readonly default: 100;
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* PITCH_KERNEL, moved from openmixer.
|
|
628
|
+
* @see data/kernels/pitch.json
|
|
629
|
+
*/
|
|
630
|
+
export declare const PITCH_KERNEL: {
|
|
631
|
+
readonly windowMs: 40;
|
|
632
|
+
readonly prefilterCeilingHz: 20000;
|
|
633
|
+
readonly prefilterQ: 0.7071067811865476;
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* 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).
|
|
638
|
+
* @see data/kernels/reverb.json
|
|
639
|
+
*/
|
|
640
|
+
export declare const REVERB_PLATE_MOD_DEPTH_RANGE: {
|
|
641
|
+
readonly min: 0;
|
|
642
|
+
readonly max: 400;
|
|
643
|
+
readonly step: 1;
|
|
644
|
+
readonly unit: "%";
|
|
645
|
+
readonly default: 100;
|
|
646
|
+
readonly defaultFrom: "desk";
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* The horn's chorale (slow) rate, Hz.
|
|
651
|
+
* @see data/kernels/rotary.json
|
|
652
|
+
*/
|
|
653
|
+
export declare const ROTARY_HORN_SLOW_RANGE: {
|
|
654
|
+
readonly min: 0.1;
|
|
655
|
+
readonly max: 2;
|
|
656
|
+
readonly step: 0.01;
|
|
657
|
+
readonly unit: "Hz";
|
|
658
|
+
readonly default: 0.8;
|
|
659
|
+
readonly defaultFrom: "desk";
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* The horn's tremolo (fast) rate, Hz.
|
|
664
|
+
* @see data/kernels/rotary.json
|
|
665
|
+
*/
|
|
666
|
+
export declare const ROTARY_HORN_FAST_RANGE: {
|
|
667
|
+
readonly min: 3;
|
|
668
|
+
readonly max: 10;
|
|
669
|
+
readonly step: 0.01;
|
|
670
|
+
readonly unit: "Hz";
|
|
671
|
+
readonly default: 6.8;
|
|
672
|
+
readonly defaultFrom: "desk";
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* The drum's chorale (slow) rate, Hz.
|
|
677
|
+
* @see data/kernels/rotary.json
|
|
678
|
+
*/
|
|
679
|
+
export declare const ROTARY_DRUM_SLOW_RANGE: {
|
|
680
|
+
readonly min: 0.1;
|
|
681
|
+
readonly max: 2;
|
|
682
|
+
readonly step: 0.01;
|
|
683
|
+
readonly unit: "Hz";
|
|
684
|
+
readonly default: 0.7;
|
|
685
|
+
readonly defaultFrom: "desk";
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* The drum's tremolo (fast) rate, Hz.
|
|
690
|
+
* @see data/kernels/rotary.json
|
|
691
|
+
*/
|
|
692
|
+
export declare const ROTARY_DRUM_FAST_RANGE: {
|
|
693
|
+
readonly min: 3;
|
|
694
|
+
readonly max: 10;
|
|
695
|
+
readonly step: 0.01;
|
|
696
|
+
readonly unit: "Hz";
|
|
697
|
+
readonly default: 5.9;
|
|
698
|
+
readonly defaultFrom: "desk";
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* The scale on every speed-change time constant (`ROTARY_*_ACCEL_MS`/`_DECEL_MS`): 2 is twice as slow.
|
|
703
|
+
* @see data/kernels/rotary.json
|
|
704
|
+
*/
|
|
705
|
+
export declare const ROTARY_ACCEL_RANGE: {
|
|
706
|
+
readonly min: 0.25;
|
|
707
|
+
readonly max: 4;
|
|
708
|
+
readonly step: 0.01;
|
|
709
|
+
readonly unit: "x";
|
|
710
|
+
readonly default: 1;
|
|
711
|
+
readonly defaultFrom: "desk";
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* The drum/horn balance, percent: −100 drum only, +100 horn only; the law attenuates, never boosts.
|
|
716
|
+
* @see data/kernels/rotary.json
|
|
717
|
+
*/
|
|
718
|
+
export declare const ROTARY_BALANCE_RANGE: {
|
|
719
|
+
readonly min: -100;
|
|
720
|
+
readonly max: 100;
|
|
721
|
+
readonly step: 1;
|
|
722
|
+
readonly unit: "%";
|
|
723
|
+
readonly default: 0;
|
|
724
|
+
readonly defaultFrom: "desk";
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* The rotary's wet/dry, as an instance of DRIVE_MIX_RANGE: 100 %, because a rotary on an insert IS the sound (it replaces the cabinet) and an `fxReturn` wants it wet too (§3).
|
|
729
|
+
* @see data/kernels/rotary.json
|
|
730
|
+
*/
|
|
731
|
+
export declare const ROTARY_MIX_RANGE: {
|
|
732
|
+
readonly min: 0;
|
|
733
|
+
readonly max: 100;
|
|
734
|
+
readonly step: 0.1;
|
|
735
|
+
readonly unit: "%";
|
|
736
|
+
readonly default: 100;
|
|
737
|
+
readonly defaultFrom: "desk";
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* The rotary's numeric travels, field → declaration: the ONE map the row's state, its bounds, its OPTIONS and its controller read (`speed` is a member set, ROTARY_SPEEDS, beside it).
|
|
742
|
+
* @see data/kernels/rotary.json
|
|
743
|
+
*/
|
|
744
|
+
export declare const ROTARY_TRAVELS: {
|
|
745
|
+
readonly hornSlowHz: {
|
|
746
|
+
readonly min: 0.1;
|
|
747
|
+
readonly max: 2;
|
|
748
|
+
readonly step: 0.01;
|
|
749
|
+
readonly unit: "Hz";
|
|
750
|
+
readonly default: 0.8;
|
|
751
|
+
readonly defaultFrom: "desk";
|
|
752
|
+
};
|
|
753
|
+
readonly hornFastHz: {
|
|
754
|
+
readonly min: 3;
|
|
755
|
+
readonly max: 10;
|
|
756
|
+
readonly step: 0.01;
|
|
757
|
+
readonly unit: "Hz";
|
|
758
|
+
readonly default: 6.8;
|
|
759
|
+
readonly defaultFrom: "desk";
|
|
760
|
+
};
|
|
761
|
+
readonly drumSlowHz: {
|
|
762
|
+
readonly min: 0.1;
|
|
763
|
+
readonly max: 2;
|
|
764
|
+
readonly step: 0.01;
|
|
765
|
+
readonly unit: "Hz";
|
|
766
|
+
readonly default: 0.7;
|
|
767
|
+
readonly defaultFrom: "desk";
|
|
768
|
+
};
|
|
769
|
+
readonly drumFastHz: {
|
|
770
|
+
readonly min: 3;
|
|
771
|
+
readonly max: 10;
|
|
772
|
+
readonly step: 0.01;
|
|
773
|
+
readonly unit: "Hz";
|
|
774
|
+
readonly default: 5.9;
|
|
775
|
+
readonly defaultFrom: "desk";
|
|
776
|
+
};
|
|
777
|
+
readonly accel: {
|
|
778
|
+
readonly min: 0.25;
|
|
779
|
+
readonly max: 4;
|
|
780
|
+
readonly step: 0.01;
|
|
781
|
+
readonly unit: "x";
|
|
782
|
+
readonly default: 1;
|
|
783
|
+
readonly defaultFrom: "desk";
|
|
784
|
+
};
|
|
785
|
+
readonly balance: {
|
|
786
|
+
readonly min: -100;
|
|
787
|
+
readonly max: 100;
|
|
788
|
+
readonly step: 1;
|
|
789
|
+
readonly unit: "%";
|
|
790
|
+
readonly default: 0;
|
|
791
|
+
readonly defaultFrom: "desk";
|
|
792
|
+
};
|
|
793
|
+
readonly mix: {
|
|
794
|
+
readonly min: 0;
|
|
795
|
+
readonly max: 100;
|
|
796
|
+
readonly step: 0.1;
|
|
797
|
+
readonly unit: "%";
|
|
798
|
+
readonly default: 100;
|
|
799
|
+
readonly defaultFrom: "desk";
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* The complementary split's low-pass corner, Hz: the Leslie 122's passive crossover.
|
|
805
|
+
* @see data/kernels/rotary.json
|
|
806
|
+
*/
|
|
807
|
+
export declare const ROTARY_CROSSOVER_HZ: 800;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* The shortest Doppler read, ms — above the order-3 read's one-sample reach at every rate.
|
|
811
|
+
* @see data/kernels/rotary.json
|
|
812
|
+
*/
|
|
813
|
+
export declare const ROTARY_BASE_MS: 0.1;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* The horn's Doppler excursion `D_horn`, ms: a 0.15 m radius over 343 m/s.
|
|
817
|
+
* @see data/kernels/rotary.json
|
|
818
|
+
*/
|
|
819
|
+
export declare const ROTARY_HORN_DOPPLER_MS: 0.44;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* The drum's Doppler excursion `D_drum`, ms: its baffle turns over a fixed woofer.
|
|
823
|
+
* @see data/kernels/rotary.json
|
|
824
|
+
*/
|
|
825
|
+
export declare const ROTARY_DRUM_DOPPLER_MS: 0.29;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* The horn's amplitude swing `m_horn` (a −6 dB directivity dip), a ratio.
|
|
829
|
+
* @see data/kernels/rotary.json
|
|
830
|
+
*/
|
|
831
|
+
export declare const ROTARY_HORN_AM: 0.5;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* The drum baffle's amplitude swing `m_drum`, a ratio.
|
|
835
|
+
* @see data/kernels/rotary.json
|
|
836
|
+
*/
|
|
837
|
+
export declare const ROTARY_DRUM_AM: 0.3;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* The horn rotor's speed-up time constant, ms (at `accel` 1).
|
|
841
|
+
* @see data/kernels/rotary.json
|
|
842
|
+
*/
|
|
843
|
+
export declare const ROTARY_HORN_ACCEL_MS: 330;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* The horn rotor's slow-down time constant, ms (at `accel` 1).
|
|
847
|
+
* @see data/kernels/rotary.json
|
|
848
|
+
*/
|
|
849
|
+
export declare const ROTARY_HORN_DECEL_MS: 500;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* The drum rotor's speed-up time constant, ms (at `accel` 1).
|
|
853
|
+
* @see data/kernels/rotary.json
|
|
854
|
+
*/
|
|
855
|
+
export declare const ROTARY_DRUM_ACCEL_MS: 1700;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* The drum rotor's slow-down time constant, ms (at `accel` 1).
|
|
859
|
+
* @see data/kernels/rotary.json
|
|
860
|
+
*/
|
|
861
|
+
export declare const ROTARY_DRUM_DECEL_MS: 1800;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Below this rate, Hz, a rotor coasting toward `stop` is snapped to exactly 0.
|
|
865
|
+
* @see data/kernels/rotary.json
|
|
866
|
+
*/
|
|
867
|
+
export declare const ROTARY_STOP_EPS: 0.0001;
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* One inline ring per rotor per leg, floats — at least the 192 kHz need of the horn's sweep.
|
|
871
|
+
* @see data/kernels/rotary.json
|
|
872
|
+
*/
|
|
873
|
+
export declare const ROTARY_RING_FLOATS: 256;
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* The legal range of each transient-designer field (engineering units), transient spec §3. Every kind comes up flat: no per-kind default differs. `harness/contract-limits-gen.mjs` emits each as `OMX_TRANSIENT_<FIELD>_{MIN,MAX,DEFAULT}` for `mix_transient.h`'s resolve; the row publishes them on OPTIONS when it lands (issue #921).
|
|
877
|
+
* @see data/kernels/transient.json
|
|
878
|
+
*/
|
|
879
|
+
export declare const TRANSIENT_LIMITS: {
|
|
880
|
+
readonly attackDb: {
|
|
881
|
+
readonly min: -24;
|
|
882
|
+
readonly max: 24;
|
|
883
|
+
readonly step: 0.1;
|
|
884
|
+
readonly unit: "dB";
|
|
885
|
+
readonly default: 0;
|
|
886
|
+
readonly defaultFrom: "desk";
|
|
887
|
+
};
|
|
888
|
+
readonly sustainDb: {
|
|
889
|
+
readonly min: -24;
|
|
890
|
+
readonly max: 24;
|
|
891
|
+
readonly step: 0.1;
|
|
892
|
+
readonly unit: "dB";
|
|
893
|
+
readonly default: 0;
|
|
894
|
+
readonly defaultFrom: "desk";
|
|
895
|
+
};
|
|
896
|
+
readonly attackTimeMs: {
|
|
897
|
+
readonly min: 2;
|
|
898
|
+
readonly max: 50;
|
|
899
|
+
readonly step: 0.1;
|
|
900
|
+
readonly unit: "ms";
|
|
901
|
+
readonly default: 10;
|
|
902
|
+
readonly defaultFrom: "desk";
|
|
903
|
+
};
|
|
904
|
+
readonly sustainTimeMs: {
|
|
905
|
+
readonly min: 50;
|
|
906
|
+
readonly max: 2000;
|
|
907
|
+
readonly step: 1;
|
|
908
|
+
readonly unit: "ms";
|
|
909
|
+
readonly default: 250;
|
|
910
|
+
readonly defaultFrom: "desk";
|
|
911
|
+
};
|
|
912
|
+
readonly outputDb: {
|
|
913
|
+
readonly min: -24;
|
|
914
|
+
readonly max: 12;
|
|
915
|
+
readonly step: 0.1;
|
|
916
|
+
readonly unit: "dB";
|
|
917
|
+
readonly default: 0;
|
|
918
|
+
readonly defaultFrom: "desk";
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* The fast follower's attack, ms: exactly the dynamics detector's no-oversampling line (transient spec §3, L7).
|
|
924
|
+
* @see data/kernels/transient.json
|
|
925
|
+
*/
|
|
926
|
+
export declare const TRANSIENT_FAST_ATTACK_MS: 0.5;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* The fast follower's release, ms: one 50 Hz cycle held, a 180 bpm sixteenth forgotten (transient spec §3).
|
|
930
|
+
* @see data/kernels/transient.json
|
|
931
|
+
*/
|
|
932
|
+
export declare const TRANSIENT_FAST_RELEASE_MS: 20;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* The contrast, dB, at which a knob reaches its full value (transient spec §2, §3).
|
|
936
|
+
* @see data/kernels/transient.json
|
|
937
|
+
*/
|
|
938
|
+
export declare const TRANSIENT_REF_DB: 6;
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* The detector floor, linear (−100 dBFS): below it both envelopes read the floor and the stage is unity (transient spec §3).
|
|
942
|
+
* @see data/kernels/transient.json
|
|
943
|
+
*/
|
|
944
|
+
export declare const TRANSIENT_FLOOR_LIN: 0.00001;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* The tremolo's LFO rate (the catalogue row's 0.1..20 Hz); 4 Hz is the classic amp tremolo.
|
|
948
|
+
* @see data/kernels/tremolo.json
|
|
949
|
+
*/
|
|
950
|
+
export declare const TREMOLO_RATE_RANGE: {
|
|
951
|
+
readonly min: 0.1;
|
|
952
|
+
readonly max: 20;
|
|
953
|
+
readonly step: 0.01;
|
|
954
|
+
readonly unit: "Hz";
|
|
955
|
+
readonly default: 4;
|
|
956
|
+
readonly defaultFrom: "desk";
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* The tremolo's modulation depth: the gain's trough is `1 − mix·depth`.
|
|
961
|
+
* @see data/kernels/tremolo.json
|
|
962
|
+
*/
|
|
963
|
+
export declare const TREMOLO_DEPTH_RANGE: {
|
|
964
|
+
readonly min: 0;
|
|
965
|
+
readonly max: 100;
|
|
966
|
+
readonly step: 0.1;
|
|
967
|
+
readonly unit: "%";
|
|
968
|
+
readonly default: 50;
|
|
969
|
+
readonly defaultFrom: "desk";
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* The tremolo's wet/dry, as an instance of DRIVE_MIX_RANGE: 100 %. The kernel folds the wet/dry into its one gain, so a strip tremolo IS the sound (as the rotary's mix 100 % is).
|
|
974
|
+
* @see data/kernels/tremolo.json
|
|
975
|
+
*/
|
|
976
|
+
export declare const TREMOLO_MIX_RANGE: {
|
|
977
|
+
readonly min: 0;
|
|
978
|
+
readonly max: 100;
|
|
979
|
+
readonly step: 0.1;
|
|
980
|
+
readonly unit: "%";
|
|
981
|
+
readonly default: 100;
|
|
982
|
+
readonly defaultFrom: "desk";
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* The tremolo's numeric travels, field → declaration: the ONE map the row's state, its bounds, its OPTIONS and its controller read (`mode` is a member set, TREMOLO_MODES, beside it).
|
|
987
|
+
* @see data/kernels/tremolo.json
|
|
988
|
+
*/
|
|
989
|
+
export declare const TREMOLO_TRAVELS: {
|
|
990
|
+
readonly rateHz: {
|
|
991
|
+
readonly min: 0.1;
|
|
992
|
+
readonly max: 20;
|
|
993
|
+
readonly step: 0.01;
|
|
994
|
+
readonly unit: "Hz";
|
|
995
|
+
readonly default: 4;
|
|
996
|
+
readonly defaultFrom: "desk";
|
|
997
|
+
};
|
|
998
|
+
readonly depth: {
|
|
999
|
+
readonly min: 0;
|
|
1000
|
+
readonly max: 100;
|
|
1001
|
+
readonly step: 0.1;
|
|
1002
|
+
readonly unit: "%";
|
|
1003
|
+
readonly default: 50;
|
|
1004
|
+
readonly defaultFrom: "desk";
|
|
1005
|
+
};
|
|
1006
|
+
readonly mix: {
|
|
1007
|
+
readonly min: 0;
|
|
1008
|
+
readonly max: 100;
|
|
1009
|
+
readonly step: 0.1;
|
|
1010
|
+
readonly unit: "%";
|
|
1011
|
+
readonly default: 100;
|
|
1012
|
+
readonly defaultFrom: "desk";
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* The Q of a second-order Butterworth section, 1/√2 — maximally flat, the one value every Butterworth biquad in the tree designs at: the LR4 crossover section, the pitch pre-filter and the drive's tilt / band / HF sections, in TS and (as `OMX_BUTTERWORTH_Q`) in C (§7, the scalar door).
|
|
1018
|
+
* @see data/primitives.json
|
|
1019
|
+
*/
|
|
1020
|
+
export declare const BUTTERWORTH_Q: 0.7071067811865476;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* ALLPASS_LIMITS, moved from openmixer.
|
|
1024
|
+
* @see data/primitives.json
|
|
1025
|
+
*/
|
|
1026
|
+
export declare const ALLPASS_LIMITS: {
|
|
1027
|
+
readonly unityTolerance: 0.0001;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* XOVER_LIMITS, moved from openmixer.
|
|
1032
|
+
* @see data/primitives.json
|
|
1033
|
+
*/
|
|
1034
|
+
export declare const XOVER_LIMITS: {
|
|
1035
|
+
readonly lr2SectionQ: 0.5;
|
|
1036
|
+
readonly lr4SectionQ: 0.7071067811865476;
|
|
1037
|
+
readonly partitionTolerance: 0.00001;
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* The order the chorus and flanger construct their lines with (four taps; the fdelay spec §1).
|
|
1042
|
+
* @see data/primitives.json
|
|
1043
|
+
*/
|
|
1044
|
+
export declare const FDELAY_MOD_READ_ORDER: 3;
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* `Λ` for the chorus/flanger read — ONE value; the header and every law read this.
|
|
1048
|
+
* @see data/primitives.json
|
|
1049
|
+
*/
|
|
1050
|
+
export declare const FDELAY_READ_L1_NORM: 1.25;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* The standard sample rates (Hz) the desk recognises — the pro-audio superset. One source of truth for the clock controller's `clock.allowed-rates` seed, the force row's validation ceiling and the device-rate probe fallback. What the operator is OFFERED is always the DEVICE's own `supportedRates` (`2026-07-15-clock-rate-honest-force-rate.md`) — this is the ceiling a write is refused by, never a menu.
|
|
1054
|
+
* @see data/rates.json
|
|
1055
|
+
*/
|
|
1056
|
+
export declare const STANDARD_SAMPLE_RATES: readonly [44100, 48000, 88200, 96000, 176400, 192000];
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* THE declaration: 192 kHz at quantum 128.
|
|
1060
|
+
* @see data/rates.json
|
|
1061
|
+
*/
|
|
1062
|
+
export declare const RT_HARD_TARGET: {
|
|
1063
|
+
readonly rate: 192000;
|
|
1064
|
+
readonly quantum: 128;
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* The rate a unit-range DSP knob is quoted at (R-058): the rate this desk runs (ruling 2026-09-14). A kernel raises the knob to `REF / sr`, so at this rate the exponent is exactly 1 and the response is bit-for-bit the one cut before the law. Emitted to C as `OMX_DSP_KNOB_REFERENCE_RATE`; the reverb damping and FX-delay tone references `#define` from it.
|
|
1069
|
+
* @see data/rates.json
|
|
1070
|
+
*/
|
|
1071
|
+
export declare const DSP_KNOB_REFERENCE_RATE: 96000;
|