@openmixer/omx-contract 1.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/README.md +9 -6
- package/data/kernels/deesser.json +93 -0
- package/data/kernels/flanger.json +51 -0
- package/data/kernels/geq.json +33 -0
- package/data/kernels/phaser.json +109 -0
- package/data/kernels/rotary.json +186 -0
- package/data/kernels/tremolo.json +54 -0
- package/dist/ts/omx-contract.d.ts +601 -47
- package/dist/ts/omx-contract.js +611 -56
- package/include/omxcontract/omx_contract_limits.h +180 -0
- package/lib/data.mjs +2 -25
- package/lib/fmt.mjs +1 -3
- package/lib/semver.mjs +17 -16
- package/lib/validate.mjs +1 -16
- package/package.json +1 -1
- package/render/c.mjs +6 -16
- package/render/doors.mjs +2 -3
- package/render/ts.mjs +1 -2
- package/schema/omx-contract.schema.json +6 -36
- package/share/omx-contract/omx-contract.json +657 -52
- package/data/plugins/delay.json +0 -48
- package/include/omxcontract/params/omx_delay_params.h +0 -47
- package/include/omxcontract/params/omx_plugin_param.h +0 -25
package/README.md
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
# omx-contract
|
|
4
4
|
|
|
5
5
|
The FreeMixer declarations as data: what a value may be (a travel, a default, a kernel constant, a
|
|
6
|
-
list
|
|
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, and 1.1.0 adds the flanger, de-esser, phaser, rotary, tremolo and graphic EQ kernels.
|
|
10
10
|
|
|
11
11
|
```
|
|
12
12
|
data/ the declaration, one file per group, edited by hand
|
|
13
|
-
rates.json primitives.json kernels/<kernel>.json
|
|
13
|
+
rates.json primitives.json kernels/<kernel>.json
|
|
14
14
|
schema/omx-contract.schema.json JSON Schema 2020-12: five kinds, closed units, refs, closed derivations
|
|
15
15
|
bin/omx-contract.mjs the CLI
|
|
16
16
|
render/ c.mjs (openmixer's renderer, moved unchanged, under c/), ts.mjs, json.mjs
|
|
@@ -18,6 +18,8 @@ include/omxcontract/ the committed c render (what omx-contract-devel ins
|
|
|
18
18
|
share/omx-contract/ the committed json render (resolved data)
|
|
19
19
|
test/ schema, semantic checks, goldens, perturbation, semver, round trip
|
|
20
20
|
tools/proof/round-trip.mjs the spec §4.4 steps 1 and 2 proof against omx-dsp v0.1.3
|
|
21
|
+
recipes/kernel.recipe.json what a complete kernel has; recipes/answers/ cites each value in the engine
|
|
22
|
+
tools/omx-new-kernel.mjs the kernel wizard and importer; tools/kernel-recipe.mjs is `make completeness`
|
|
21
23
|
tools/seed/ the one-time seed from openmixer's built core (provenance; never run by CI)
|
|
22
24
|
packaging/ debian/ omx-contract-devel (RPM), libomx-contract-dev (deb)
|
|
23
25
|
```
|
|
@@ -38,11 +40,12 @@ share/omx-contract` and `render --target ts --out test/golden/ts`; CI holds all
|
|
|
38
40
|
|
|
39
41
|
## Consuming it
|
|
40
42
|
|
|
41
|
-
Pin one version (`omx-contract 1.
|
|
43
|
+
Pin one version (`omx-contract 1.1.0` in `.github/pins.txt`) and build against its renders, committing
|
|
42
44
|
none: the installed `omx-contract-devel` / `libomx-contract-dev` at exactly that version
|
|
43
|
-
(`pkg-config --exact-version=1.
|
|
45
|
+
(`pkg-config --exact-version=1.1.0 omx-contract`), else the release's npm tarball, unpacked, and
|
|
44
46
|
`omx-contract render --target c --out build/omx-contract/include`. Include
|
|
45
|
-
`<omxcontract/omx_contract_limits.h
|
|
47
|
+
`<omxcontract/omx_contract_limits.h>`. A plugin's parameter header is rendered by omx-plugins from its
|
|
48
|
+
declaration, by reference to the kernel travels here (since 1.1.0).
|
|
46
49
|
|
|
47
50
|
The npm package is `@openmixer/omx-contract` on npmjs.org (the `ts` render is its main export); every
|
|
48
51
|
GitHub release also carries the `npm pack` tarball, the RPMs and the debs.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../schema/omx-contract.schema.json",
|
|
3
|
+
"DEESS_FREQ_RANGE": {
|
|
4
|
+
"kind": "travels",
|
|
5
|
+
"doc": "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).",
|
|
6
|
+
"travel": {
|
|
7
|
+
"min": 2000,
|
|
8
|
+
"max": 16000,
|
|
9
|
+
"step": 10,
|
|
10
|
+
"unit": "Hz",
|
|
11
|
+
"default": 7000,
|
|
12
|
+
"defaultFrom": "desk"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"DEESS_WIDTH_RANGE": {
|
|
16
|
+
"kind": "travels",
|
|
17
|
+
"doc": "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.",
|
|
18
|
+
"travel": {
|
|
19
|
+
"min": 0.25,
|
|
20
|
+
"max": 4,
|
|
21
|
+
"step": 0.05,
|
|
22
|
+
"unit": "oct",
|
|
23
|
+
"default": 1,
|
|
24
|
+
"defaultFrom": "desk"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"DEESS_THRESHOLD_RANGE": {
|
|
28
|
+
"kind": "travels",
|
|
29
|
+
"doc": "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\".",
|
|
30
|
+
"travel": {
|
|
31
|
+
"min": -60,
|
|
32
|
+
"max": 0,
|
|
33
|
+
"step": 0.5,
|
|
34
|
+
"unit": "dB",
|
|
35
|
+
"default": -30,
|
|
36
|
+
"defaultFrom": "desk"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"DEESS_RATIO_RANGE": {
|
|
40
|
+
"kind": "travels",
|
|
41
|
+
"doc": "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.",
|
|
42
|
+
"travel": {
|
|
43
|
+
"min": 1,
|
|
44
|
+
"max": 20,
|
|
45
|
+
"step": 0.1,
|
|
46
|
+
"unit": "",
|
|
47
|
+
"default": 4,
|
|
48
|
+
"defaultFrom": "desk"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"DEESS_RANGE_RANGE": {
|
|
52
|
+
"kind": "travels",
|
|
53
|
+
"doc": "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.",
|
|
54
|
+
"travel": {
|
|
55
|
+
"min": -24,
|
|
56
|
+
"max": 0,
|
|
57
|
+
"step": 0.5,
|
|
58
|
+
"unit": "dB",
|
|
59
|
+
"default": -12,
|
|
60
|
+
"defaultFrom": "desk"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"DEESS_ATTACK_RANGE": {
|
|
64
|
+
"kind": "travels",
|
|
65
|
+
"doc": "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.",
|
|
66
|
+
"travel": {
|
|
67
|
+
"min": 0.1,
|
|
68
|
+
"max": 50,
|
|
69
|
+
"step": 0.1,
|
|
70
|
+
"unit": "ms",
|
|
71
|
+
"default": 1,
|
|
72
|
+
"defaultFrom": "desk"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"DEESS_RELEASE_RANGE": {
|
|
76
|
+
"kind": "travels",
|
|
77
|
+
"doc": "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.",
|
|
78
|
+
"travel": {
|
|
79
|
+
"min": 5,
|
|
80
|
+
"max": 500,
|
|
81
|
+
"step": 1,
|
|
82
|
+
"unit": "ms",
|
|
83
|
+
"default": 60,
|
|
84
|
+
"defaultFrom": "desk"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"DEESS_KNEE_DB": {
|
|
88
|
+
"kind": "scalar",
|
|
89
|
+
"doc": "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.",
|
|
90
|
+
"unit": "dB",
|
|
91
|
+
"value": 6
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../schema/omx-contract.schema.json",
|
|
3
|
+
"FLANGER_RATE_RANGE": {
|
|
4
|
+
"kind": "travels",
|
|
5
|
+
"doc": "The flanger's jet sweep (§3b).",
|
|
6
|
+
"travel": {
|
|
7
|
+
"min": 0.05,
|
|
8
|
+
"max": 5,
|
|
9
|
+
"step": 0.01,
|
|
10
|
+
"unit": "Hz",
|
|
11
|
+
"default": 0.25,
|
|
12
|
+
"defaultFrom": "desk"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"FLANGER_DEPTH_RANGE": {
|
|
16
|
+
"kind": "travels",
|
|
17
|
+
"doc": "The flanger's peak-to-peak excursion above its declared 0.5 ms base (§3b).",
|
|
18
|
+
"travel": {
|
|
19
|
+
"min": 0,
|
|
20
|
+
"max": 5,
|
|
21
|
+
"step": 0.1,
|
|
22
|
+
"unit": "ms",
|
|
23
|
+
"default": 2,
|
|
24
|
+
"defaultFrom": "desk"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"FLANGER_FEEDBACK_RANGE": {
|
|
28
|
+
"kind": "travels",
|
|
29
|
+
"doc": "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.",
|
|
30
|
+
"travel": {
|
|
31
|
+
"min": -0.95,
|
|
32
|
+
"max": 0.95,
|
|
33
|
+
"step": 0.01,
|
|
34
|
+
"unit": "",
|
|
35
|
+
"default": 0.6,
|
|
36
|
+
"defaultFrom": "desk"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"FLANGER_MIX_RANGE": {
|
|
40
|
+
"kind": "travels",
|
|
41
|
+
"doc": "The flanger's wet/dry, as an instance of DRIVE_MIX_RANGE: 50 %, equal dry and wet, where the comb is deepest (§3b).",
|
|
42
|
+
"travel": {
|
|
43
|
+
"min": 0,
|
|
44
|
+
"max": 100,
|
|
45
|
+
"step": 0.1,
|
|
46
|
+
"unit": "%",
|
|
47
|
+
"default": 50,
|
|
48
|
+
"defaultFrom": "desk"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../schema/omx-contract.schema.json",
|
|
3
|
+
"GEQ_BAND_RANGE": {
|
|
4
|
+
"kind": "travels",
|
|
5
|
+
"doc": "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).",
|
|
6
|
+
"travel": {
|
|
7
|
+
"min": -15,
|
|
8
|
+
"max": 15,
|
|
9
|
+
"step": 0.5,
|
|
10
|
+
"unit": "dB",
|
|
11
|
+
"default": 0,
|
|
12
|
+
"defaultFrom": "desk"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"GEQ_BAND_Q": {
|
|
16
|
+
"kind": "scalar",
|
|
17
|
+
"doc": "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).",
|
|
18
|
+
"unit": "",
|
|
19
|
+
"value": 4.3
|
|
20
|
+
},
|
|
21
|
+
"GEQ_PROTO_DB": {
|
|
22
|
+
"kind": "scalar",
|
|
23
|
+
"doc": "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.",
|
|
24
|
+
"unit": "dB",
|
|
25
|
+
"value": 12
|
|
26
|
+
},
|
|
27
|
+
"GEQ_DESIGN_GAIN_MAX_DB": {
|
|
28
|
+
"kind": "scalar",
|
|
29
|
+
"doc": "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.",
|
|
30
|
+
"unit": "dB",
|
|
31
|
+
"value": 30
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../schema/omx-contract.schema.json",
|
|
3
|
+
"PHASER_RATE_RANGE": {
|
|
4
|
+
"kind": "travels",
|
|
5
|
+
"doc": "The phaser's sweep speed (§3). `omx_lfo_inc` freezes at Nyquist; this travel stays far below.",
|
|
6
|
+
"travel": {
|
|
7
|
+
"min": 0.05,
|
|
8
|
+
"max": 5,
|
|
9
|
+
"step": 0.01,
|
|
10
|
+
"unit": "Hz",
|
|
11
|
+
"default": 0.5,
|
|
12
|
+
"defaultFrom": "desk"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"PHASER_BASE_RANGE": {
|
|
16
|
+
"kind": "travels",
|
|
17
|
+
"doc": "The phaser's lowest centre frequency; the sweep runs upward from it (§3).",
|
|
18
|
+
"travel": {
|
|
19
|
+
"min": 50,
|
|
20
|
+
"max": 2000,
|
|
21
|
+
"step": 1,
|
|
22
|
+
"unit": "Hz",
|
|
23
|
+
"default": 200,
|
|
24
|
+
"defaultFrom": "desk"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"PHASER_DEPTH_RANGE": {
|
|
28
|
+
"kind": "travels",
|
|
29
|
+
"doc": "The sweep's span above `base`, in octaves; 0 is a static phaser at `base` (§3).",
|
|
30
|
+
"travel": {
|
|
31
|
+
"min": 0,
|
|
32
|
+
"max": 6,
|
|
33
|
+
"step": 0.1,
|
|
34
|
+
"unit": "oct",
|
|
35
|
+
"default": 4,
|
|
36
|
+
"defaultFrom": "desk"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"PHASER_STAGES_RANGE": {
|
|
40
|
+
"kind": "travels",
|
|
41
|
+
"doc": "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.",
|
|
42
|
+
"travel": {
|
|
43
|
+
"min": 2,
|
|
44
|
+
"max": 12,
|
|
45
|
+
"step": 2,
|
|
46
|
+
"unit": "",
|
|
47
|
+
"default": 6,
|
|
48
|
+
"defaultFrom": "desk"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"PHASER_STAGE_COUNTS": {
|
|
52
|
+
"kind": "list",
|
|
53
|
+
"doc": "The member set the `stages` field accepts: PHASER_STAGES_RANGE walked by its step.",
|
|
54
|
+
"unit": "",
|
|
55
|
+
"values": [
|
|
56
|
+
2,
|
|
57
|
+
4,
|
|
58
|
+
6,
|
|
59
|
+
8,
|
|
60
|
+
10,
|
|
61
|
+
12
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"PHASER_FEEDBACK_RANGE": {
|
|
65
|
+
"kind": "travels",
|
|
66
|
+
"doc": "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.",
|
|
67
|
+
"travel": {
|
|
68
|
+
"min": -0.9,
|
|
69
|
+
"max": 0.9,
|
|
70
|
+
"step": 0.01,
|
|
71
|
+
"unit": "",
|
|
72
|
+
"default": 0.4,
|
|
73
|
+
"defaultFrom": "desk"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"PHASER_MIX_RANGE": {
|
|
77
|
+
"kind": "travels",
|
|
78
|
+
"doc": "The phaser's wet/dry, as an instance of DRIVE_MIX_RANGE: 50 %, where the notch is complete (§3).",
|
|
79
|
+
"travel": {
|
|
80
|
+
"min": 0,
|
|
81
|
+
"max": 100,
|
|
82
|
+
"step": 0.1,
|
|
83
|
+
"unit": "%",
|
|
84
|
+
"default": 50,
|
|
85
|
+
"defaultFrom": "desk"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"PHASER_TRAVELS": {
|
|
89
|
+
"kind": "travels",
|
|
90
|
+
"doc": "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.",
|
|
91
|
+
"fields": {
|
|
92
|
+
"rateHz": {
|
|
93
|
+
"ref": "PHASER_RATE_RANGE"
|
|
94
|
+
},
|
|
95
|
+
"baseHz": {
|
|
96
|
+
"ref": "PHASER_BASE_RANGE"
|
|
97
|
+
},
|
|
98
|
+
"depthOct": {
|
|
99
|
+
"ref": "PHASER_DEPTH_RANGE"
|
|
100
|
+
},
|
|
101
|
+
"feedback": {
|
|
102
|
+
"ref": "PHASER_FEEDBACK_RANGE"
|
|
103
|
+
},
|
|
104
|
+
"mix": {
|
|
105
|
+
"ref": "PHASER_MIX_RANGE"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../schema/omx-contract.schema.json",
|
|
3
|
+
"ROTARY_HORN_SLOW_RANGE": {
|
|
4
|
+
"kind": "travels",
|
|
5
|
+
"doc": "The horn's chorale (slow) rate, Hz.",
|
|
6
|
+
"travel": {
|
|
7
|
+
"min": 0.1,
|
|
8
|
+
"max": 2,
|
|
9
|
+
"step": 0.01,
|
|
10
|
+
"unit": "Hz",
|
|
11
|
+
"default": 0.8,
|
|
12
|
+
"defaultFrom": "desk"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"ROTARY_HORN_FAST_RANGE": {
|
|
16
|
+
"kind": "travels",
|
|
17
|
+
"doc": "The horn's tremolo (fast) rate, Hz.",
|
|
18
|
+
"travel": {
|
|
19
|
+
"min": 3,
|
|
20
|
+
"max": 10,
|
|
21
|
+
"step": 0.01,
|
|
22
|
+
"unit": "Hz",
|
|
23
|
+
"default": 6.8,
|
|
24
|
+
"defaultFrom": "desk"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"ROTARY_DRUM_SLOW_RANGE": {
|
|
28
|
+
"kind": "travels",
|
|
29
|
+
"doc": "The drum's chorale (slow) rate, Hz.",
|
|
30
|
+
"travel": {
|
|
31
|
+
"min": 0.1,
|
|
32
|
+
"max": 2,
|
|
33
|
+
"step": 0.01,
|
|
34
|
+
"unit": "Hz",
|
|
35
|
+
"default": 0.7,
|
|
36
|
+
"defaultFrom": "desk"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"ROTARY_DRUM_FAST_RANGE": {
|
|
40
|
+
"kind": "travels",
|
|
41
|
+
"doc": "The drum's tremolo (fast) rate, Hz.",
|
|
42
|
+
"travel": {
|
|
43
|
+
"min": 3,
|
|
44
|
+
"max": 10,
|
|
45
|
+
"step": 0.01,
|
|
46
|
+
"unit": "Hz",
|
|
47
|
+
"default": 5.9,
|
|
48
|
+
"defaultFrom": "desk"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"ROTARY_ACCEL_RANGE": {
|
|
52
|
+
"kind": "travels",
|
|
53
|
+
"doc": "The scale on every speed-change time constant (`ROTARY_*_ACCEL_MS`/`_DECEL_MS`): 2 is twice as slow.",
|
|
54
|
+
"travel": {
|
|
55
|
+
"min": 0.25,
|
|
56
|
+
"max": 4,
|
|
57
|
+
"step": 0.01,
|
|
58
|
+
"unit": "x",
|
|
59
|
+
"default": 1,
|
|
60
|
+
"defaultFrom": "desk"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"ROTARY_BALANCE_RANGE": {
|
|
64
|
+
"kind": "travels",
|
|
65
|
+
"doc": "The drum/horn balance, percent: −100 drum only, +100 horn only; the law attenuates, never boosts.",
|
|
66
|
+
"travel": {
|
|
67
|
+
"min": -100,
|
|
68
|
+
"max": 100,
|
|
69
|
+
"step": 1,
|
|
70
|
+
"unit": "%",
|
|
71
|
+
"default": 0,
|
|
72
|
+
"defaultFrom": "desk"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"ROTARY_MIX_RANGE": {
|
|
76
|
+
"kind": "travels",
|
|
77
|
+
"doc": "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).",
|
|
78
|
+
"travel": {
|
|
79
|
+
"min": 0,
|
|
80
|
+
"max": 100,
|
|
81
|
+
"step": 0.1,
|
|
82
|
+
"unit": "%",
|
|
83
|
+
"default": 100,
|
|
84
|
+
"defaultFrom": "desk"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"ROTARY_TRAVELS": {
|
|
88
|
+
"kind": "travels",
|
|
89
|
+
"doc": "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).",
|
|
90
|
+
"fields": {
|
|
91
|
+
"hornSlowHz": {
|
|
92
|
+
"ref": "ROTARY_HORN_SLOW_RANGE"
|
|
93
|
+
},
|
|
94
|
+
"hornFastHz": {
|
|
95
|
+
"ref": "ROTARY_HORN_FAST_RANGE"
|
|
96
|
+
},
|
|
97
|
+
"drumSlowHz": {
|
|
98
|
+
"ref": "ROTARY_DRUM_SLOW_RANGE"
|
|
99
|
+
},
|
|
100
|
+
"drumFastHz": {
|
|
101
|
+
"ref": "ROTARY_DRUM_FAST_RANGE"
|
|
102
|
+
},
|
|
103
|
+
"accel": {
|
|
104
|
+
"ref": "ROTARY_ACCEL_RANGE"
|
|
105
|
+
},
|
|
106
|
+
"balance": {
|
|
107
|
+
"ref": "ROTARY_BALANCE_RANGE"
|
|
108
|
+
},
|
|
109
|
+
"mix": {
|
|
110
|
+
"ref": "ROTARY_MIX_RANGE"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"ROTARY_CROSSOVER_HZ": {
|
|
115
|
+
"kind": "scalar",
|
|
116
|
+
"doc": "The complementary split's low-pass corner, Hz: the Leslie 122's passive crossover.",
|
|
117
|
+
"unit": "Hz",
|
|
118
|
+
"value": 800
|
|
119
|
+
},
|
|
120
|
+
"ROTARY_BASE_MS": {
|
|
121
|
+
"kind": "scalar",
|
|
122
|
+
"doc": "The shortest Doppler read, ms — above the order-3 read's one-sample reach at every rate.",
|
|
123
|
+
"unit": "ms",
|
|
124
|
+
"value": 0.1
|
|
125
|
+
},
|
|
126
|
+
"ROTARY_HORN_DOPPLER_MS": {
|
|
127
|
+
"kind": "scalar",
|
|
128
|
+
"doc": "The horn's Doppler excursion `D_horn`, ms: a 0.15 m radius over 343 m/s.",
|
|
129
|
+
"unit": "ms",
|
|
130
|
+
"value": 0.44
|
|
131
|
+
},
|
|
132
|
+
"ROTARY_DRUM_DOPPLER_MS": {
|
|
133
|
+
"kind": "scalar",
|
|
134
|
+
"doc": "The drum's Doppler excursion `D_drum`, ms: its baffle turns over a fixed woofer.",
|
|
135
|
+
"unit": "ms",
|
|
136
|
+
"value": 0.29
|
|
137
|
+
},
|
|
138
|
+
"ROTARY_HORN_AM": {
|
|
139
|
+
"kind": "scalar",
|
|
140
|
+
"doc": "The horn's amplitude swing `m_horn` (a −6 dB directivity dip), a ratio.",
|
|
141
|
+
"unit": "",
|
|
142
|
+
"value": 0.5
|
|
143
|
+
},
|
|
144
|
+
"ROTARY_DRUM_AM": {
|
|
145
|
+
"kind": "scalar",
|
|
146
|
+
"doc": "The drum baffle's amplitude swing `m_drum`, a ratio.",
|
|
147
|
+
"unit": "",
|
|
148
|
+
"value": 0.3
|
|
149
|
+
},
|
|
150
|
+
"ROTARY_HORN_ACCEL_MS": {
|
|
151
|
+
"kind": "scalar",
|
|
152
|
+
"doc": "The horn rotor's speed-up time constant, ms (at `accel` 1).",
|
|
153
|
+
"unit": "ms",
|
|
154
|
+
"value": 330
|
|
155
|
+
},
|
|
156
|
+
"ROTARY_HORN_DECEL_MS": {
|
|
157
|
+
"kind": "scalar",
|
|
158
|
+
"doc": "The horn rotor's slow-down time constant, ms (at `accel` 1).",
|
|
159
|
+
"unit": "ms",
|
|
160
|
+
"value": 500
|
|
161
|
+
},
|
|
162
|
+
"ROTARY_DRUM_ACCEL_MS": {
|
|
163
|
+
"kind": "scalar",
|
|
164
|
+
"doc": "The drum rotor's speed-up time constant, ms (at `accel` 1).",
|
|
165
|
+
"unit": "ms",
|
|
166
|
+
"value": 1700
|
|
167
|
+
},
|
|
168
|
+
"ROTARY_DRUM_DECEL_MS": {
|
|
169
|
+
"kind": "scalar",
|
|
170
|
+
"doc": "The drum rotor's slow-down time constant, ms (at `accel` 1).",
|
|
171
|
+
"unit": "ms",
|
|
172
|
+
"value": 1800
|
|
173
|
+
},
|
|
174
|
+
"ROTARY_STOP_EPS": {
|
|
175
|
+
"kind": "scalar",
|
|
176
|
+
"doc": "Below this rate, Hz, a rotor coasting toward `stop` is snapped to exactly 0.",
|
|
177
|
+
"unit": "",
|
|
178
|
+
"value": 0.0001
|
|
179
|
+
},
|
|
180
|
+
"ROTARY_RING_FLOATS": {
|
|
181
|
+
"kind": "scalar",
|
|
182
|
+
"doc": "One inline ring per rotor per leg, floats — at least the 192 kHz need of the horn's sweep.",
|
|
183
|
+
"unit": "",
|
|
184
|
+
"value": 256
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../../schema/omx-contract.schema.json",
|
|
3
|
+
"TREMOLO_RATE_RANGE": {
|
|
4
|
+
"kind": "travels",
|
|
5
|
+
"doc": "The tremolo's LFO rate (the catalogue row's 0.1..20 Hz); 4 Hz is the classic amp tremolo.",
|
|
6
|
+
"travel": {
|
|
7
|
+
"min": 0.1,
|
|
8
|
+
"max": 20,
|
|
9
|
+
"step": 0.01,
|
|
10
|
+
"unit": "Hz",
|
|
11
|
+
"default": 4,
|
|
12
|
+
"defaultFrom": "desk"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"TREMOLO_DEPTH_RANGE": {
|
|
16
|
+
"kind": "travels",
|
|
17
|
+
"doc": "The tremolo's modulation depth: the gain's trough is `1 − mix·depth`.",
|
|
18
|
+
"travel": {
|
|
19
|
+
"min": 0,
|
|
20
|
+
"max": 100,
|
|
21
|
+
"step": 0.1,
|
|
22
|
+
"unit": "%",
|
|
23
|
+
"default": 50,
|
|
24
|
+
"defaultFrom": "desk"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"TREMOLO_MIX_RANGE": {
|
|
28
|
+
"kind": "travels",
|
|
29
|
+
"doc": "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).",
|
|
30
|
+
"travel": {
|
|
31
|
+
"min": 0,
|
|
32
|
+
"max": 100,
|
|
33
|
+
"step": 0.1,
|
|
34
|
+
"unit": "%",
|
|
35
|
+
"default": 100,
|
|
36
|
+
"defaultFrom": "desk"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"TREMOLO_TRAVELS": {
|
|
40
|
+
"kind": "travels",
|
|
41
|
+
"doc": "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).",
|
|
42
|
+
"fields": {
|
|
43
|
+
"rateHz": {
|
|
44
|
+
"ref": "TREMOLO_RATE_RANGE"
|
|
45
|
+
},
|
|
46
|
+
"depth": {
|
|
47
|
+
"ref": "TREMOLO_DEPTH_RANGE"
|
|
48
|
+
},
|
|
49
|
+
"mix": {
|
|
50
|
+
"ref": "TREMOLO_MIX_RANGE"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|