@openmixer/omx-contract 1.2.1 → 2.0.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.
Files changed (42) hide show
  1. package/README.md +41 -4
  2. package/bin/omx-contract.mjs +14 -3
  3. package/data/kernels/balance.json +18 -14
  4. package/data/kernels/band_dyn.json +132 -0
  5. package/data/kernels/chorus.json +87 -56
  6. package/data/kernels/comp.json +67 -29
  7. package/data/kernels/deesser.json +114 -86
  8. package/data/kernels/delay.json +67 -57
  9. package/data/kernels/drive.json +118 -87
  10. package/data/kernels/eq.json +284 -113
  11. package/data/kernels/fbs.json +150 -0
  12. package/data/kernels/flanger.json +74 -44
  13. package/data/kernels/gate.json +76 -21
  14. package/data/kernels/geq.json +32 -27
  15. package/data/kernels/hrp.json +68 -0
  16. package/data/kernels/limiter.json +25 -9
  17. package/data/kernels/mixmatrix.json +11 -0
  18. package/data/kernels/phaser.json +110 -100
  19. package/data/kernels/pitch.json +35 -17
  20. package/data/kernels/reverb.json +176 -142
  21. package/data/kernels/rotary.json +189 -177
  22. package/data/kernels/rta.json +17 -0
  23. package/data/kernels/transient.json +64 -36
  24. package/data/kernels/tremolo.json +59 -48
  25. package/data/primitives.json +51 -0
  26. package/data/rates.json +29 -0
  27. package/dist/ts/omx-contract.d.ts +527 -21
  28. package/dist/ts/omx-contract.js +832 -57
  29. package/include/omxcontract/omx_contract_limits.h +233 -0
  30. package/lib/data.mjs +115 -3
  31. package/lib/eq-defaults.mjs +87 -0
  32. package/lib/fmt.mjs +24 -4
  33. package/lib/semver.mjs +12 -2
  34. package/lib/validate.mjs +99 -3
  35. package/package.json +1 -1
  36. package/render/c.mjs +76 -10
  37. package/render/doors.mjs +6 -3
  38. package/render/ts.mjs +40 -2
  39. package/schema/omx-contract.schema.json +39 -3
  40. package/share/omx-contract/omx-contract.json +759 -71
  41. package/render/c/omx_plugin_param.h +0 -25
  42. package/render/c/params-generate.mjs +0 -83
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmixer/omx-contract",
3
- "version": "1.2.1",
3
+ "version": "2.0.0",
4
4
  "items": {
5
5
  "PAN_RANGE": {
6
6
  "rel": "data/kernels/balance.json",
@@ -20,6 +20,107 @@
20
20
  "unit": ""
21
21
  }
22
22
  },
23
+ "BAND_DYN_MODES": {
24
+ "rel": "data/kernels/band_dyn.json",
25
+ "kind": "set",
26
+ "doc": "The side of the threshold the band acts on. Above acts when the band is loud, taming a resonance that only rings when pushed; below acts when it is quiet, lifting a band that drops out. The order is the integer the kernel reads: above is 0, below is 1.",
27
+ "default": "above",
28
+ "value": [
29
+ "above",
30
+ "below"
31
+ ]
32
+ },
33
+ "BAND_DYN_THRESHOLD_RANGE": {
34
+ "rel": "data/kernels/band_dyn.json",
35
+ "kind": "travels",
36
+ "doc": "Where the band starts to act, in dB of the band's own level and not the strip's. It is the same fact the de-esser's threshold is, so it carries the same travel.",
37
+ "shape": "travel",
38
+ "value": {
39
+ "min": -60,
40
+ "max": 0,
41
+ "step": 0.5,
42
+ "unit": "dB",
43
+ "default": -30,
44
+ "defaultFrom": "desk"
45
+ }
46
+ },
47
+ "BAND_DYN_RATIO_RANGE": {
48
+ "rel": "data/kernels/band_dyn.json",
49
+ "kind": "travels",
50
+ "doc": "How hard the band is held once it is past its threshold. 2:1 rather than the de-esser's 4:1, because a dynamic band is corrective, not a limiter for a sibilant.",
51
+ "shape": "travel",
52
+ "value": {
53
+ "min": 1,
54
+ "max": 20,
55
+ "step": 0.1,
56
+ "unit": "",
57
+ "default": 2,
58
+ "defaultFrom": "desk"
59
+ }
60
+ },
61
+ "BAND_DYN_RANGE_RANGE": {
62
+ "rel": "data/kernels/band_dyn.json",
63
+ "kind": "travels",
64
+ "doc": "The most the band may add to its static gain, signed: below zero the deepest cut, above zero the largest boost. The ceiling of +12 keeps static plus dynamic inside the EQ's own travel. Zero makes the band inert without switching it off.",
65
+ "shape": "travel",
66
+ "value": {
67
+ "min": -24,
68
+ "max": 12,
69
+ "step": 0.5,
70
+ "unit": "dB",
71
+ "default": -6,
72
+ "defaultFrom": "desk"
73
+ }
74
+ },
75
+ "BAND_DYN_ATTACK_RANGE": {
76
+ "rel": "data/kernels/band_dyn.json",
77
+ "kind": "travels",
78
+ "doc": "The detector's attack, in ms. The travel stops at the oversampling floor, below which the band would need the compressor's delayed control path.",
79
+ "shape": "travel",
80
+ "value": {
81
+ "min": 0.5,
82
+ "max": 100,
83
+ "step": 0.1,
84
+ "unit": "ms",
85
+ "default": 5,
86
+ "defaultFrom": "desk"
87
+ }
88
+ },
89
+ "BAND_DYN_RELEASE_RANGE": {
90
+ "rel": "data/kernels/band_dyn.json",
91
+ "kind": "travels",
92
+ "doc": "The detector's release, in ms. 100 ms is long enough not to modulate a 40 Hz band inside four cycles.",
93
+ "shape": "travel",
94
+ "value": {
95
+ "min": 5,
96
+ "max": 3000,
97
+ "step": 1,
98
+ "unit": "ms",
99
+ "default": 100,
100
+ "defaultFrom": "desk"
101
+ }
102
+ },
103
+ "BAND_DYN_KNEE_DB": {
104
+ "rel": "data/kernels/band_dyn.json",
105
+ "kind": "scalar",
106
+ "doc": "The soft knee of the band's gain computer, in dB. One knee for the one band-dynamics word, shared by every stage that runs it, the de-esser included: a second spelling of 6 would be a second place where the reduction starts.",
107
+ "unit": "dB",
108
+ "value": 6
109
+ },
110
+ "BAND_DYN_MAX_BANDS": {
111
+ "rel": "data/kernels/band_dyn.json",
112
+ "kind": "scalar",
113
+ "doc": "How many dynamic bands a channel may hold. A dynamic band is an operator band, so the capacity is the operator's reserve, read and not typed again.",
114
+ "unit": "",
115
+ "value": 9
116
+ },
117
+ "DETECTOR_OVERSAMPLE_AUTO_MS": {
118
+ "rel": "data/kernels/band_dyn.json",
119
+ "kind": "scalar",
120
+ "doc": "The shortest attack, in ms, at which the compressor's detector does not alias. Below it the compressor engages its 4x control path, which adds 72 samples of latency; a zero-latency band has no such path, so its attack travel stops at this floor.",
121
+ "unit": "ms",
122
+ "value": 0.5
123
+ },
23
124
  "CHORUS_SPREAD_RANGE": {
24
125
  "rel": "data/kernels/chorus.json",
25
126
  "kind": "travels",
@@ -90,6 +191,20 @@
90
191
  "defaultFrom": "desk"
91
192
  }
92
193
  },
194
+ "CHORUS_BASE_MS": {
195
+ "rel": "data/kernels/chorus.json",
196
+ "kind": "scalar",
197
+ "doc": "The chorus's base delay, ms: the voices swing around it by up to the depth.",
198
+ "unit": "ms",
199
+ "value": 10
200
+ },
201
+ "CHORUS_MAX_MS": {
202
+ "rel": "data/kernels/chorus.json",
203
+ "kind": "scalar",
204
+ "doc": "The longest delay a chorus voice reaches, rounded up to whole ms: the base delay plus the depth maximum. The delay line is sized from it.",
205
+ "unit": "ms",
206
+ "value": 22
207
+ },
93
208
  "COMP_LIMITS": {
94
209
  "rel": "data/kernels/comp.json",
95
210
  "kind": "travels",
@@ -269,6 +384,15 @@
269
384
  "defaultFrom": "desk"
270
385
  }
271
386
  },
387
+ "DEESS_MODES": {
388
+ "rel": "data/kernels/deesser.json",
389
+ "kind": "set",
390
+ "doc": "The de-esser's modes, in the order of the integer the kernel reads: split attenuates the detected band only, wideband the whole signal while the sibilance lasts.",
391
+ "value": [
392
+ "split",
393
+ "wideband"
394
+ ]
395
+ },
272
396
  "DEESS_KNEE_DB": {
273
397
  "rel": "data/kernels/deesser.json",
274
398
  "kind": "scalar",
@@ -348,13 +472,6 @@
348
472
  "unit": "",
349
473
  "value": false
350
474
  },
351
- "DRIVE_BIAS_MAX": {
352
- "rel": "data/kernels/drive.json",
353
- "kind": "scalar",
354
- "doc": "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.",
355
- "unit": "",
356
- "value": 0.7071067811865476
357
- },
358
475
  "DRIVE_AMOUNT_RANGE": {
359
476
  "rel": "data/kernels/drive.json",
360
477
  "kind": "travels",
@@ -455,61 +572,34 @@
455
572
  "defaultFrom": "desk"
456
573
  }
457
574
  },
458
- "EQ_MAX_BANDS": {
459
- "rel": "data/kernels/eq.json",
460
- "kind": "scalar",
461
- "doc": "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.",
462
- "unit": "",
463
- "value": 24
575
+ "DRIVE_CURVES": {
576
+ "rel": "data/kernels/drive.json",
577
+ "kind": "set",
578
+ "doc": "The drive's shaper curves, in the order of the integer the kernel reads. Exciter runs the soft shape in a parallel-sum topology.",
579
+ "value": [
580
+ "soft",
581
+ "tape",
582
+ "tube",
583
+ "exciter"
584
+ ]
464
585
  },
465
- "ISO_THIRD_OCTAVE_CENTRES_HZ": {
466
- "rel": "data/kernels/eq.json",
467
- "kind": "list",
468
- "doc": "The standard ISO 266 one-third-octave centre frequencies, 20 Hz–20 kHz (31 bands) — the classic 31-band graphic-EQ layout's centres.",
469
- "unit": "Hz",
470
- "c": {
471
- "render": false
472
- },
586
+ "DRIVE_BANDS": {
587
+ "rel": "data/kernels/drive.json",
588
+ "kind": "set",
589
+ "doc": "Which part of the spectrum the drive's curve is fed, in the order of the integer the kernel reads. The split is complementary, so mix 0 stays bit-identical to the dry signal.",
473
590
  "value": [
474
- 20,
475
- 25,
476
- 31.5,
477
- 40,
478
- 50,
479
- 63,
480
- 80,
481
- 100,
482
- 125,
483
- 160,
484
- 200,
485
- 250,
486
- 315,
487
- 400,
488
- 500,
489
- 630,
490
- 800,
491
- 1000,
492
- 1250,
493
- 1600,
494
- 2000,
495
- 2500,
496
- 3150,
497
- 4000,
498
- 5000,
499
- 6300,
500
- 8000,
501
- 10000,
502
- 12500,
503
- 16000,
504
- 20000
591
+ "full",
592
+ "low",
593
+ "high",
594
+ "tilt"
505
595
  ]
506
596
  },
507
- "GEQ_BANDS": {
508
- "rel": "data/kernels/eq.json",
597
+ "DRIVE_BIAS_MAX": {
598
+ "rel": "data/kernels/drive.json",
509
599
  "kind": "scalar",
510
- "doc": "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).",
600
+ "doc": "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.",
511
601
  "unit": "",
512
- "value": 31
602
+ "value": 0.7071067811865476
513
603
  },
514
604
  "EQ_FREQ_RANGE": {
515
605
  "rel": "data/kernels/eq.json",
@@ -583,6 +673,375 @@
583
673
  "unit": "Hz"
584
674
  }
585
675
  },
676
+ "EQ_BAND_TYPES": {
677
+ "rel": "data/kernels/eq.json",
678
+ "kind": "set",
679
+ "doc": "The generic EQ band shapes, in the order a picker offers them and in the order of the integer a plugin host sees on a band type port. The id is the name; the position is the value. A bell is the shape a band added by the operator starts as.",
680
+ "default": "bell",
681
+ "labels": [
682
+ "Bell",
683
+ "Low Shelf",
684
+ "High Shelf",
685
+ "Notch",
686
+ "All-pass 1st",
687
+ "All-pass 2nd"
688
+ ],
689
+ "value": [
690
+ "bell",
691
+ "lowShelf",
692
+ "highShelf",
693
+ "notch",
694
+ "allpass1",
695
+ "allpass2"
696
+ ]
697
+ },
698
+ "FILTER_SLOPES": {
699
+ "rel": "data/kernels/eq.json",
700
+ "kind": "set",
701
+ "doc": "The pass-filter slopes the EQ offers, in dB per octave. The id is the slope: 12 is one maximally flat section, 24 the two-section Butterworth.",
702
+ "default": 12,
703
+ "value": [
704
+ 12,
705
+ 24
706
+ ]
707
+ },
708
+ "EQ_MAX_BANDS": {
709
+ "rel": "data/kernels/eq.json",
710
+ "kind": "scalar",
711
+ "doc": "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.",
712
+ "unit": "",
713
+ "value": 24
714
+ },
715
+ "ISO_THIRD_OCTAVE_CENTRES_HZ": {
716
+ "rel": "data/kernels/eq.json",
717
+ "kind": "list",
718
+ "doc": "The standard ISO 266 one-third-octave centre frequencies, 20 Hz–20 kHz (31 bands) — the classic 31-band graphic-EQ layout's centres.",
719
+ "unit": "Hz",
720
+ "value": [
721
+ 20,
722
+ 25,
723
+ 31.5,
724
+ 40,
725
+ 50,
726
+ 63,
727
+ 80,
728
+ 100,
729
+ 125,
730
+ 160,
731
+ 200,
732
+ 250,
733
+ 315,
734
+ 400,
735
+ 500,
736
+ 630,
737
+ 800,
738
+ 1000,
739
+ 1250,
740
+ 1600,
741
+ 2000,
742
+ 2500,
743
+ 3150,
744
+ 4000,
745
+ 5000,
746
+ 6300,
747
+ 8000,
748
+ 10000,
749
+ 12500,
750
+ 16000,
751
+ 20000
752
+ ]
753
+ },
754
+ "GEQ_BANDS": {
755
+ "rel": "data/kernels/eq.json",
756
+ "kind": "scalar",
757
+ "doc": "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).",
758
+ "unit": "",
759
+ "value": 31
760
+ },
761
+ "OPERATOR_EQ_BANDS_RESERVE": {
762
+ "rel": "data/kernels/eq.json",
763
+ "kind": "scalar",
764
+ "doc": "The band slots kept for the operator's own hand: the reserve the feedback suppressor and the ring correction may never eat into. Nine is the working set a live EQ actually holds. The budget OPERATOR_EQ_BANDS_RESERVE + FBS_DEFAULT_MAX_AUTO_BANDS + HRP_DEFAULT_MAX_AUTO_BANDS (9 + 6 + 8 = 23) must fit EQ_MAX_BANDS, and `omx-contract validate` refuses data where it does not.",
765
+ "unit": "",
766
+ "value": 9
767
+ },
768
+ "EQ_BAND_COUNTS": {
769
+ "rel": "data/kernels/eq.json",
770
+ "kind": "sheet",
771
+ "doc": "How many bands each strip type's EQ starts with (`default`) and may hold (`max`). `channel` is the console's channel strip: it starts with four and the operator adds bands up to EQ_MAX_BANDS (a band added takes the frequency it is added at, so no default is declared for it). `strip` is the omx-strip plugin's EQ and `eq8`, `eq16` and `eq32` the omx-eq plugins, whose bands are fixed. A default may never exceed its maximum, and the default centres of any count come from the one default rule, whatever the strip.",
772
+ "value": {
773
+ "channel": {
774
+ "default": 4,
775
+ "max": 24
776
+ },
777
+ "strip": {
778
+ "default": 4,
779
+ "max": 4
780
+ },
781
+ "eq8": {
782
+ "default": 8,
783
+ "max": 8
784
+ },
785
+ "eq16": {
786
+ "default": 16,
787
+ "max": 16
788
+ },
789
+ "eq32": {
790
+ "default": 32,
791
+ "max": 32
792
+ }
793
+ }
794
+ },
795
+ "EQ_BAND_DEFAULTS": {
796
+ "rel": "data/kernels/eq.json",
797
+ "kind": "sheet",
798
+ "doc": "What every band of a fresh EQ comes up at, whatever its type and its strip: flat (0 dB) and Q 1. The band frequencies and types come from the default rule.",
799
+ "value": {
800
+ "gainDb": 0,
801
+ "q": 1
802
+ }
803
+ },
804
+ "EQ_PASS_FILTER_DEFAULTS": {
805
+ "rel": "data/kernels/eq.json",
806
+ "kind": "sheet",
807
+ "doc": "The corners the high-pass and low-pass filters of a fresh EQ are parked at, whatever the strip. Both come up off.",
808
+ "value": {
809
+ "hpfFreqHz": 80,
810
+ "lpfFreqHz": 18000
811
+ }
812
+ },
813
+ "EQ_DEFAULT_CENTRES_FOUR_BAND_HZ": {
814
+ "rel": "data/kernels/eq.json",
815
+ "kind": "list",
816
+ "doc": "The default band centres of a four-band EQ, Hz: ISO 266 preferred values, two to two and a half octaves apart. The default rule gives every other band count its centres from the preferred series; four bands start here.",
817
+ "unit": "Hz",
818
+ "value": [
819
+ 100,
820
+ 400,
821
+ 2000,
822
+ 8000
823
+ ]
824
+ },
825
+ "EQ_CENTRE_SERIES_R20_HZ": {
826
+ "rel": "data/kernels/eq.json",
827
+ "kind": "list",
828
+ "doc": "The ISO 266 R20 preferred frequencies from 20 Hz to 20 kHz (61 values, sixth-octave spacing): the finer series the default band rule falls back to where R10 (ISO_THIRD_OCTAVE_CENTRES_HZ, 31 values) has too few to give every band its own centre. R10 is a subset of it.",
829
+ "unit": "Hz",
830
+ "value": [
831
+ 20,
832
+ 22.4,
833
+ 25,
834
+ 28,
835
+ 31.5,
836
+ 35.5,
837
+ 40,
838
+ 45,
839
+ 50,
840
+ 56,
841
+ 63,
842
+ 71,
843
+ 80,
844
+ 90,
845
+ 100,
846
+ 112,
847
+ 125,
848
+ 140,
849
+ 160,
850
+ 180,
851
+ 200,
852
+ 224,
853
+ 250,
854
+ 280,
855
+ 315,
856
+ 355,
857
+ 400,
858
+ 450,
859
+ 500,
860
+ 560,
861
+ 630,
862
+ 710,
863
+ 800,
864
+ 900,
865
+ 1000,
866
+ 1120,
867
+ 1250,
868
+ 1400,
869
+ 1600,
870
+ 1800,
871
+ 2000,
872
+ 2240,
873
+ 2500,
874
+ 2800,
875
+ 3150,
876
+ 3550,
877
+ 4000,
878
+ 4500,
879
+ 5000,
880
+ 5600,
881
+ 6300,
882
+ 7100,
883
+ 8000,
884
+ 9000,
885
+ 10000,
886
+ 11200,
887
+ 12500,
888
+ 14000,
889
+ 16000,
890
+ 18000,
891
+ 20000
892
+ ]
893
+ },
894
+ "SUBHARMONIC_RADIUS_BINS": {
895
+ "rel": "data/kernels/fbs.json",
896
+ "kind": "scalar",
897
+ "doc": "How far (bins) around bin/2 and bin/3 PSHR (`omx_fbs_pshr`) scans for a sub-harmonic line. A true half/third partial lands mid-bin in the worst case (bin/2 and bin/3 are rarely integers) and spectral leakage smears it one bin further; ±2 covers both. Measured on the #116 live-music corpus: every false positive's sub-line sat inside this window. Deliberately NOT wider — at low bins the window is already a large fraction of an octave, and widening it would start reading unrelated program lines as \"sub-harmonics\" of real feedback.",
898
+ "unit": "",
899
+ "value": 2
900
+ },
901
+ "FBS_PAPR_GUARD_BINS": {
902
+ "rel": "data/kernels/fbs.json",
903
+ "kind": "scalar",
904
+ "doc": "PAPR's guard band: bins either side of the peak left out of the floor average (its own skirt).",
905
+ "unit": "",
906
+ "value": 2
907
+ },
908
+ "FBS_PNPR_RADIUS_BINS": {
909
+ "rel": "data/kernels/fbs.json",
910
+ "kind": "scalar",
911
+ "doc": "PNPR's neighbourhood radius in bins, and the guard inside it that belongs to the peak's own skirt: a pure tone is compared with bins 2 and 3 away on each side.",
912
+ "unit": "",
913
+ "value": 3
914
+ },
915
+ "FBS_PNPR_GUARD_BINS": {
916
+ "rel": "data/kernels/fbs.json",
917
+ "kind": "scalar",
918
+ "doc": "The guard inside PNPR's neighbourhood radius that belongs to the peak's own skirt, in bins.",
919
+ "unit": "",
920
+ "value": 1
921
+ },
922
+ "FBS_PHPR_HARMONICS": {
923
+ "rel": "data/kernels/fbs.json",
924
+ "kind": "scalar",
925
+ "doc": "How many harmonics PHPR reads above the candidate: 2f, 3f and 4f.",
926
+ "unit": "",
927
+ "value": 3
928
+ },
929
+ "FBS_PSHR_SELF_SKIP_BINS": {
930
+ "rel": "data/kernels/fbs.json",
931
+ "kind": "scalar",
932
+ "doc": "PSHR skips sub-window bins within this many of the candidate, so a low bin never measures its own skirt as a sub-harmonic.",
933
+ "unit": "",
934
+ "value": 3
935
+ },
936
+ "FBS_FLOOR_LIN": {
937
+ "rel": "data/kernels/fbs.json",
938
+ "kind": "scalar",
939
+ "doc": "The magnitude floor of every detector dB reading (−240 dB): a zero bin stays finite.",
940
+ "unit": "",
941
+ "value": 1e-12
942
+ },
943
+ "FBS_TRACK_SLOTS": {
944
+ "rel": "data/kernels/fbs.json",
945
+ "kind": "scalar",
946
+ "doc": "Tracked candidate bins per armed channel. A candidate that finds no free slot is COUNTED and reported, never dropped silently; the identity corpus peaks at 34.",
947
+ "unit": "",
948
+ "value": 512
949
+ },
950
+ "PSHR_MIN_DB": {
951
+ "rel": "data/kernels/fbs.json",
952
+ "kind": "scalar",
953
+ "doc": "Minimum PSHR (`omx_fbs_pshr`) (dB) for a candidate frame to count as sub-harmonic-CLEAN. Evidence-set on the #116 corpus, margin on both sides: the four live false positives (musical overtones at 1 869.1 / 832.0 / 263.7 / 228.5 Hz) read PSHR between −10.2 and +8.8 dB across their windows — never a 5-frame sub-clean stretch, and the single closest approach (+8.8) is isolated between frames at ≈ −1 and −10 — while the committed #106 injected ramp reads ≥ +12.2 dB from its second frame on (its frame 0 sits at +9.4, costing exactly one frame of confirm latency, pinned in the corpus test). A static program line at f/2 of REAL feedback also clears this fast: the runaway gains several dB per hop on anything static, so the deferral is transient.",
954
+ "unit": "dB",
955
+ "value": 10
956
+ },
957
+ "GROWTH_WINDOW_FRAMES": {
958
+ "rel": "data/kernels/fbs.json",
959
+ "kind": "scalar",
960
+ "doc": "How many of a candidate bin's most recent dB readings feed the growth-slope estimate (the engine's least-squares slope) — set equal to DEFAULT_THRESHOLDS's `persistFrames` so growth is judged over the SAME window persistence already demands (the full run since the bin became a candidate, not a shorter or longer slice of it). Long enough that a couple of noisy/vibrato frames can't fake a trend by themselves.",
961
+ "unit": "",
962
+ "value": 5
963
+ },
964
+ "DEEP_PLATEAU_FRAMES": {
965
+ "rel": "data/kernels/fbs.json",
966
+ "kind": "scalar",
967
+ "doc": "The DEEP plateau tier's dwell: ~2 s at the watcher's 10 Hz — the TIME that buys the deeper floor its music safety (see DetectThresholds.deepPlateauFloorDb).",
968
+ "unit": "",
969
+ "value": 20
970
+ },
971
+ "GROWTH_MIN_DB_PER_FRAME": {
972
+ "rel": "data/kernels/fbs.json",
973
+ "kind": "scalar",
974
+ "doc": "Minimum least-squares slope, in dB PER FRAME, over GROWTH_WINDOW_FRAMES for a bin to count as \"running away\" rather than merely holding level. Set with real margin on BOTH sides — comfortably above measurement jitter on a held tone or a quiet/broadband mix (well under 0.2 dB/frame in practice) and comfortably below a genuine feedback ramp, which climbs several dB across a handful of ~20 ms hops as it heads toward clipping. Issue #91's acceptance bar is \"arming must never burst-alarm on non-growing content\", so this errs conservative (under-fire a marginal ramp) rather than tight (risk a false alarm) — the ramp gate (`omx_fbs_is_growing`) also requires the window's end to sit above its start, a cheap belt-and-braces check against a fit dragged positive by one mid-window wobble.",
975
+ "unit": "dB",
976
+ "value": 0.8
977
+ },
978
+ "GROWTH_MAX_DIP_DB": {
979
+ "rel": "data/kernels/fbs.json",
980
+ "kind": "scalar",
981
+ "doc": "Largest single-frame DIP (dB) a run-away window may contain. Real feedback climbs every hop; a small allowance covers measurement jitter and the −0.3 dB-ish wobble frames seen on live captures, while any real drop (a note ending, tremolo) breaks the run.",
982
+ "unit": "dB",
983
+ "value": 0.5
984
+ },
985
+ "GROWTH_MIN_TOTAL_RISE_DB": {
986
+ "rel": "data/kernels/fbs.json",
987
+ "kind": "scalar",
988
+ "doc": "Minimum END-TO-END rise (dB) across the window. The live-music corpus (issue #106) showed sustained melody notes drifting up ~4–5 dB over a window without ever being feedback; a loop past unity gains several dB per hop and clears 6 dB in a window trivially. Below this the tone is holding level, not running away.",
989
+ "unit": "dB",
990
+ "value": 6
991
+ },
992
+ "GROWTH_MAX_SINGLE_FRAME_SHARE": {
993
+ "rel": "data/kernels/fbs.json",
994
+ "kind": "scalar",
995
+ "doc": "Cap on the share of the window's total rise a SINGLE frame may carry. Feedback is exponential in amplitude ⇒ linear in dB ⇒ its rise is distributed roughly evenly across the window; a musical attack / re-articulation puts almost the whole rise in one hop (the exact shape behind every one of issue #106's 72 live false positives). One half is generous to real ramps (an even N-frame ramp puts 1/(N−1) per hop) and fatal to steps. A side effect worth knowing: a 2-sample window can never pass (one hop IS the whole rise), so confirmation always rests on at least three frames of actual ramp evidence.",
996
+ "unit": "",
997
+ "value": 0.5
998
+ },
999
+ "GROWTH_CONFIRM_FRAMES": {
1000
+ "rel": "data/kernels/fbs.json",
1001
+ "kind": "scalar",
1002
+ "doc": "How many CONSECUTIVE frames the ramp gate (`omx_fbs_is_growing`) must hold before a bin confirms — the time-domain tiebreak for the one shape a single window cannot judge (issue #106): a smooth musical crescendo. Within one window a +6 dB swell (live corpus: a C6 at 1 049 Hz, `[-53.7, -51.4, -50.4, -48, -47.3]`) is indistinguishable from slow feedback — the difference is only visible on the NEXT hop, where a crescendo peaks and plateaus (the window's rise collapses) while feedback keeps climbing. Requiring the gate to hold twice in a row costs a clean ramp nothing — its gate is already true while persistence is still arming — and blocks the swell that peaks the very frame it would have confirmed.",
1003
+ "unit": "",
1004
+ "value": 2
1005
+ },
1006
+ "DEFAULT_THRESHOLDS": {
1007
+ "rel": "data/kernels/fbs.json",
1008
+ "kind": "sheet",
1009
+ "doc": "The corpus-tuned SAFE DEFAULT — today's exact gates, assembled byte-for-byte from the exported consts above (which stay the authoritative literal source, so the corpus test's import type { MagnitudeSeries } from './spectrum-bands.js'; imports remain the single truth). This is the ANCHOR the whole sensitivity mapping pins to: thresholdsFor`(0, 'live')` and `(0, 'fixed')` both deep-equal this object, so an untouched channel runs the identical detector it does now. `plateauFloorDb` is omitted ⇒ the #140 plateau route is OFF at the default.",
1010
+ "value": {
1011
+ "paprDb": 18,
1012
+ "pnprDb": 12,
1013
+ "phprDb": 9,
1014
+ "persistFrames": 5,
1015
+ "growthConfirmFrames": 2,
1016
+ "subCleanFrames": 5,
1017
+ "growthMinTotalRiseDb": 6,
1018
+ "growthMaxSingleFrameShare": 0.5,
1019
+ "growthMinDbPerFrame": 0.8,
1020
+ "growthMaxDipDb": 0.5,
1021
+ "pshrMinDb": 10
1022
+ }
1023
+ },
1024
+ "FBS_MAX_NOTCH_DEPTH_DB": {
1025
+ "rel": "data/kernels/fbs.json",
1026
+ "kind": "scalar",
1027
+ "doc": "THE NOTCH DEPTH LAW: the deepest cut any machine planter may propose from one reading, in dB. A number, not a literal at the call site, because two planters now lean on it. FBS derives a candidate's depth from the peak-to-average ratio around its bin and stops here; Room Analysis derives a mode's depth from its height above the median curve and is held to the SAME ceiling (2026-09-08-room-analysis.md §4 — \"never more than the FBS notch depth law\"). Written twice as `18` those two bounds would be equal by coincidence and could drift apart in silence. It is a CEILING ON THE PROPOSAL, not the final gain: a band that lands as a rampable BELL is bounded again by `EQ_GAIN_RANGE`, which is tighter. A planter must honour both and REPORT when either bit, never quietly deliver a shallower cut than it was asked for.",
1028
+ "unit": "dB",
1029
+ "value": 18
1030
+ },
1031
+ "FBS_DEFAULT_NOTCH_Q": {
1032
+ "rel": "data/kernels/fbs.json",
1033
+ "kind": "scalar",
1034
+ "doc": "Default planted-notch width (Q) — the dbx-AFS-style ultra-narrow notch the corrector plants. `addBand`'s per-shape clamp holds it at 116 for a fixed notch and narrows it to 8 for a live bell, so this is the declared starting point rather than the width every notch ends up with.",
1035
+ "unit": "",
1036
+ "value": 116
1037
+ },
1038
+ "FBS_DEFAULT_MAX_AUTO_BANDS": {
1039
+ "rel": "data/kernels/fbs.json",
1040
+ "kind": "scalar",
1041
+ "doc": "Default per-channel cap on auto-planted bands — a full pool plants nothing and raises a pool-full alert instead (predictability over silent eviction).",
1042
+ "unit": "",
1043
+ "value": 6
1044
+ },
586
1045
  "FLANGER_RATE_RANGE": {
587
1046
  "rel": "data/kernels/flanger.json",
588
1047
  "kind": "travels",
@@ -639,6 +1098,29 @@
639
1098
  "defaultFrom": "desk"
640
1099
  }
641
1100
  },
1101
+ "FLANGER_BASE_MS": {
1102
+ "rel": "data/kernels/flanger.json",
1103
+ "kind": "scalar",
1104
+ "doc": "The flanger's base delay, ms: the sweep rides on it up to the depth.",
1105
+ "unit": "ms",
1106
+ "value": 0.5
1107
+ },
1108
+ "FLANGER_MAX_MS": {
1109
+ "rel": "data/kernels/flanger.json",
1110
+ "kind": "scalar",
1111
+ "doc": "The longest delay a flanger sweep reaches, rounded up to whole ms: the base delay plus the depth maximum. The delay line is sized from it.",
1112
+ "unit": "ms",
1113
+ "value": 6
1114
+ },
1115
+ "GATE_KEY_SOURCES": {
1116
+ "rel": "data/kernels/gate.json",
1117
+ "kind": "set",
1118
+ "doc": "Where the gate listens: its own input (self), or the key it is handed (sidechain), in the order of the integer the key port carries.",
1119
+ "value": [
1120
+ "self",
1121
+ "sidechain"
1122
+ ]
1123
+ },
642
1124
  "GATE_LIMITS": {
643
1125
  "rel": "data/kernels/gate.json",
644
1126
  "kind": "travels",
@@ -754,6 +1236,76 @@
754
1236
  "unit": "dB",
755
1237
  "value": 30
756
1238
  },
1239
+ "HRP_AMOUNT_RANGE": {
1240
+ "rel": "data/kernels/hrp.json",
1241
+ "kind": "travels",
1242
+ "doc": "How much of the computed correction HRP applies: 0 = analyse only, 1 = the full cut. It comes up at 0.5, half the computed cut.",
1243
+ "shape": "travel",
1244
+ "value": {
1245
+ "min": 0,
1246
+ "max": 1,
1247
+ "step": 0,
1248
+ "unit": "",
1249
+ "default": 0.5,
1250
+ "defaultFrom": "desk"
1251
+ }
1252
+ },
1253
+ "HRP_MAX_CUT_DB": {
1254
+ "rel": "data/kernels/hrp.json",
1255
+ "kind": "scalar",
1256
+ "doc": "The largest automatic cut HRP may place on one harmonic, as a POSITIVE dB magnitude. Well inside the ±15 dB an operator band may hold (core's `EQ_GAIN_LIMIT_DB`): an automatic correction the operator did not ask for gets far less authority than one they dialled themselves.",
1257
+ "unit": "dB",
1258
+ "value": 6
1259
+ },
1260
+ "HRP_MAX_VOICES": {
1261
+ "rel": "data/kernels/hrp.json",
1262
+ "kind": "scalar",
1263
+ "doc": "How many simultaneous musical voices the detector may report on one channel. PINNED to `OMX_HRP_MAX_VOICES` in `pipewire-native/src/hrp_pitch.h` — the C voice set is a FIXED-SIZE array, so a TS number above the macro promises voices the analyser structurally cannot return, and one below it silently drops notes the C already found. `core/src/output-delay-ceiling.test.ts` reads the header and holds the pair equal. EIGHT (operator sizing, 2026-09-01): a guitar sounds six strings, a piano or string-section voicing sits at eight. It is a SEARCH ceiling, not a cost — the detector abandons a round as soon as no credible candidate remains, so monophonic material costs what it always did.",
1264
+ "unit": "",
1265
+ "value": 8
1266
+ },
1267
+ "HRP_BAND_Q": {
1268
+ "rel": "data/kernels/hrp.json",
1269
+ "kind": "scalar",
1270
+ "doc": "The Q of an HRP correction band — one declared number, operator-adjustable later. A musical cut, not a ring killer: FBS's default notch Q is ~116 because a howl is a single frequency, whereas a partial that is too loud is a note an instrument is playing and a surgical null on it would be heard as a hole. 5 sits mid-band in the 4…6 range a musical subtractive cut occupies, and inside EQ_Q_RANGE — the gain-carrying shapes' extent — so it survives the store's clamp unchanged. Deliberately NOT derived from the harmonic index. A derivation invented with no measurement behind it is a second declaration wearing a formula; this is revisited when the analyse-only surface shows what real corrections look like.",
1271
+ "unit": "",
1272
+ "value": 5
1273
+ },
1274
+ "HRP_EXCESS_THRESHOLD_DB": {
1275
+ "rel": "data/kernels/hrp.json",
1276
+ "kind": "scalar",
1277
+ "doc": "How far a partial must stand above its LEARNED BASELINE before HRP calls it a resonance (increment 8, §23–§24: `deviation = measured − baseline[note][harmonic]`). A partial level tells you nothing on its own; what marks a resonance is a partial louder than THIS instrument normally measures at THIS note. Three decibels is the same order as the feedback detector's peak-to-neighbour gate and for the same reason: below it, an ordinary performance's variation — a bow dug in, a verse sung harder — would be flattened, and flattening expression is not correcting a room. (Before the learned model existed this same threshold gated the placeholder neighbour rule; the number and its reasoning carried over.)",
1278
+ "unit": "dB",
1279
+ "value": 3
1280
+ },
1281
+ "HRP_GAIN_STEP_DB": {
1282
+ "rel": "data/kernels/hrp.json",
1283
+ "kind": "scalar",
1284
+ "doc": "How far ONE reconcile pass may move an HRP band's gain, in dB — §48's gain smoothing, done at the control level because the native cascade applies pushed coefficients verbatim and §48 forbids interpolating there. An unbounded gain step is a waveform discontinuity — the click heard when a correction entered or left at full depth (found live, 2026-08-20, the evening increment 9 raised the enter/leave rate). Bounded, a correction ENTERS by deepening from silence and LEAVES by walking to exactly 0 dB — the provable parked identity (`eqBandIsIdentity`) — from which removal is bit-identical. Two decibels per pass at the corrector's 10 Hz cadence walks the full HRP_MAX_CUT_DB travel in ~300 ms: the same order as the tracker's stability hold and FBS's lift steps, while each individual move stays below audibility on a Q-5 bell.",
1285
+ "unit": "dB",
1286
+ "value": 2
1287
+ },
1288
+ "HRP_COLLISION_CENTS": {
1289
+ "rel": "data/kernels/hrp.json",
1290
+ "kind": "scalar",
1291
+ "doc": "How close two correction candidates must sit, in cents, to count as the SAME spectral region (§30): within it, the stronger candidate is selected and the weaker discarded rather than two near-identical filters being planted. One semitone, and the number follows from HRP_BAND_Q: a Q-5 bell's −3 dB half-width is ~170 cents, so two cuts a semitone apart overlap over most of their travel — the second one deepens the first far more than it shapes anything of its own. The spec orders the threshold configurable and tested (§30's last line): declared once here, a parameter everywhere below.",
1292
+ "unit": "cents",
1293
+ "value": 100
1294
+ },
1295
+ "HRP_ATTRIBUTION_CENTS": {
1296
+ "rel": "data/kernels/hrp.json",
1297
+ "kind": "scalar",
1298
+ "doc": "The ATTRIBUTION window (§11): two partials closer than this are one spectral event as far as the desk can tell — the same ±1 bin `omx_hrp_bin_peak` reads over, expressed musically so it holds across the range. A different law from HRP_COLLISION_CENTS (§30's SELECTION window, which stays above it): this one is the analyser's resolution, that one the corrector's. Generated into `omx_contract_limits.h` as `OMX_HRP_ATTRIBUTION_CENTS`; `hrp_attribute.h` reads it.",
1299
+ "unit": "cents",
1300
+ "value": 60
1301
+ },
1302
+ "HRP_DEFAULT_MAX_AUTO_BANDS": {
1303
+ "rel": "data/kernels/hrp.json",
1304
+ "kind": "scalar",
1305
+ "doc": "How many bands HRP may plant on ONE channel — its half of the machine budget, and the number that makes the budget FORECASTABLE rather than emergent. Without it the count is whatever the material happens to provoke: the placement law is sparse, so a clean note plants two bands and a resonant room plants nine, and nobody can answer \"will this fit?\" until it does not. With FBS senior (§9.3(b)) that discovery would happen at showtime, to the junior planter, silently. Declared instead, the whole sum is arithmetic an operator can read before a note is played: operator bands + FBS maxAutoBands + HRP maxAutoBands <= EQ_MAX_BANDS EIGHT — ONE CORRECTION PER VOICE at full polyphony (operator sizing, 2026-09-01). The detector's ceiling is HRP_MAX_VOICES voices, a guitar's six strings and a piano/string voicing's eight, and a budget below the voice count would decide by arithmetic which of the notes actually sounding may be corrected — a limit nobody could read off the desk. Scarcity is handled where it belongs instead: the candidates from every voice meet in ONE globally ranked list (spec §29) and the head of it is what gets planted. It is NOT a claim to seniority, and it is larger than FBS's six. Seniority is the ALLOCATION ORDER — `HrpPlanter` takes only `EQ_MAX_BANDS − others.length`, the remainder after the operator and every other machine — so a bigger junior default cannot reach a senior slot; it only means HRP asks for more of what is left. `eq-budget-fits.test.ts` asserts both halves. The per-channel DEFAULT; the row's travel is HRP_AUTO_BANDS_RANGE, so a channel that needs more can have more, as an explicit decision with a visible cost.",
1306
+ "unit": "",
1307
+ "value": 8
1308
+ },
757
1309
  "LIMITER_LIMITS": {
758
1310
  "rel": "data/kernels/limiter.json",
759
1311
  "kind": "travels",
@@ -786,6 +1338,13 @@
786
1338
  }
787
1339
  }
788
1340
  },
1341
+ "BUS_INPUT_CAP": {
1342
+ "rel": "data/kernels/mixmatrix.json",
1343
+ "kind": "scalar",
1344
+ "doc": "The input cap a summing bus can be sized to — **the engine's declared input ceiling**, read from `@freemixer/declarations` rather than re-typed here. A gig with more than this many inputs needs more than one engine node; below it a bus is sized to `min(N, BUS_INPUT_CAP)`. It was a literal 64 until 2026-09-15, said to mirror the engine's `MAX_BUS_INPUTS` — and it did, but that 64 was the PipeWire builtin mixer's single-tier fan-in (8 × 8), never the engine's bound: the native node has allocated `OMX_MAX_STRIPS` (128) strips all along. Two literals agreeing by hand is how the console came to refuse a 96-channel desk it could carry. `native-input-ceiling.test.ts` holds this to the C header; spec `docs/design/specs/2026-09-14-console-allocation.md` §9 carries the ruling and the measured cost of width.",
1345
+ "unit": "",
1346
+ "value": 128
1347
+ },
789
1348
  "PHASER_RATE_RANGE": {
790
1349
  "rel": "data/kernels/phaser.json",
791
1350
  "kind": "travels",
@@ -842,20 +1401,6 @@
842
1401
  "defaultFrom": "desk"
843
1402
  }
844
1403
  },
845
- "PHASER_STAGE_COUNTS": {
846
- "rel": "data/kernels/phaser.json",
847
- "kind": "list",
848
- "doc": "The member set the `stages` field accepts: PHASER_STAGES_RANGE walked by its step.",
849
- "unit": "",
850
- "value": [
851
- 2,
852
- 4,
853
- 6,
854
- 8,
855
- 10,
856
- 12
857
- ]
858
- },
859
1404
  "PHASER_FEEDBACK_RANGE": {
860
1405
  "rel": "data/kernels/phaser.json",
861
1406
  "kind": "travels",
@@ -932,6 +1477,27 @@
932
1477
  }
933
1478
  }
934
1479
  },
1480
+ "PHASER_STAGE_COUNTS": {
1481
+ "rel": "data/kernels/phaser.json",
1482
+ "kind": "list",
1483
+ "doc": "The member set the `stages` field accepts: PHASER_STAGES_RANGE walked by its step.",
1484
+ "unit": "",
1485
+ "value": [
1486
+ 2,
1487
+ 4,
1488
+ 6,
1489
+ 8,
1490
+ 10,
1491
+ 12
1492
+ ]
1493
+ },
1494
+ "PHASER_F_TOP_HZ": {
1495
+ "rel": "data/kernels/phaser.json",
1496
+ "kind": "scalar",
1497
+ "doc": "The highest frequency the phaser's all-pass sweep reaches, Hz.",
1498
+ "unit": "Hz",
1499
+ "value": 16000
1500
+ },
935
1501
  "PITCH_LIMITS": {
936
1502
  "rel": "data/kernels/pitch.json",
937
1503
  "kind": "travels",
@@ -1136,6 +1702,25 @@
1136
1702
  "defaultFrom": "desk"
1137
1703
  }
1138
1704
  },
1705
+ "REVERB_ALGORITHMS": {
1706
+ "rel": "data/kernels/reverb.json",
1707
+ "kind": "set",
1708
+ "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.",
1709
+ "value": [
1710
+ "room",
1711
+ "plate",
1712
+ "hall",
1713
+ "reverse",
1714
+ "gated"
1715
+ ]
1716
+ },
1717
+ "REVERB_GATE_ATTACK_MS": {
1718
+ "rel": "data/kernels/reverb.json",
1719
+ "kind": "scalar",
1720
+ "doc": "The gated reverb's gate attack, ms: the time the gate takes to open on a hit.",
1721
+ "unit": "ms",
1722
+ "value": 1.5
1723
+ },
1139
1724
  "ROTARY_HORN_SLOW_RANGE": {
1140
1725
  "rel": "data/kernels/rotary.json",
1141
1726
  "kind": "travels",
@@ -1234,6 +1819,16 @@
1234
1819
  "defaultFrom": "desk"
1235
1820
  }
1236
1821
  },
1822
+ "ROTARY_SPEEDS": {
1823
+ "rel": "data/kernels/rotary.json",
1824
+ "kind": "set",
1825
+ "doc": "The rotary speaker's speed settings, in the order of the integer the kernel reads: the rotors stopped, at their chorale (slow) rate, or at their tremolo (fast) rate.",
1826
+ "value": [
1827
+ "stop",
1828
+ "slow",
1829
+ "fast"
1830
+ ]
1831
+ },
1237
1832
  "ROTARY_TRAVELS": {
1238
1833
  "rel": "data/kernels/rotary.json",
1239
1834
  "kind": "travels",
@@ -1382,6 +1977,20 @@
1382
1977
  "unit": "",
1383
1978
  "value": 256
1384
1979
  },
1980
+ "RTA_TARGET_BIN_HZ": {
1981
+ "rel": "data/kernels/rta.json",
1982
+ "kind": "scalar",
1983
+ "doc": "The RTA's target bin resolution — generated into `omx_contract_limits.h` as `OMX_RTA_TARGET_BIN_HZ`, which `mix_dsp.h` reads; `rta-window-derivation.test.ts` reads it back from the header.",
1984
+ "unit": "Hz",
1985
+ "value": 5.9
1986
+ },
1987
+ "RTA_FFT_SIZE_MAX": {
1988
+ "rel": "data/kernels/rta.json",
1989
+ "kind": "scalar",
1990
+ "doc": "The largest RTA FFT the native ring holds — generated into `omx_contract_limits.h` as `OMX_RTA_FFT_SIZE_MAX`.",
1991
+ "unit": "",
1992
+ "value": 32768
1993
+ },
1385
1994
  "TRANSIENT_LIMITS": {
1386
1995
  "rel": "data/kernels/transient.json",
1387
1996
  "kind": "travels",
@@ -1500,6 +2109,16 @@
1500
2109
  "defaultFrom": "desk"
1501
2110
  }
1502
2111
  },
2112
+ "TREMOLO_MODES": {
2113
+ "rel": "data/kernels/tremolo.json",
2114
+ "kind": "set",
2115
+ "doc": "What the tremolo's one oscillator modulates, in the order of the integer the kernel reads: the level of both legs in phase (tremolo), or the balance law's position with the legs in opposition (pan).",
2116
+ "default": "tremolo",
2117
+ "value": [
2118
+ "tremolo",
2119
+ "pan"
2120
+ ]
2121
+ },
1503
2122
  "TREMOLO_TRAVELS": {
1504
2123
  "rel": "data/kernels/tremolo.json",
1505
2124
  "kind": "travels",
@@ -1651,6 +2270,46 @@
1651
2270
  }
1652
2271
  }
1653
2272
  },
2273
+ "PARAM_SCALES": {
2274
+ "rel": "data/primitives.json",
2275
+ "kind": "set",
2276
+ "doc": "How a host draws a parameter: linear, logarithmic (a frequency, a time) or in discrete steps. The words omx-plugins' declarations and plugin-hostd's protocol use; a travel names its own with `scale`.",
2277
+ "default": "linear",
2278
+ "value": [
2279
+ "linear",
2280
+ "log",
2281
+ "stepped"
2282
+ ]
2283
+ },
2284
+ "EQ_CONTINUOUS_TRAVELS": {
2285
+ "rel": "data/primitives.json",
2286
+ "kind": "travels",
2287
+ "doc": "The EQ's three frequency travels as a host draws them: the band frequency, the high-pass corner and the low-pass corner, EQ_FREQ_RANGE's, HPF_FREQ_RANGE's and LPF_FREQ_RANGE's bounds with no step and a logarithmic scale. The console's EQ quantises frequency to 10 Hz; a frequency drags continuously on a log axis, which is how every host draws it, so this is the form the omx-plugins read. Every number but the step is the source's, held equal by test/continuous-travels.test.mjs. Not rendered to C: no C reader needs a second spelling of the EQ's bounds.",
2288
+ "shape": "table",
2289
+ "value": {
2290
+ "freqHz": {
2291
+ "min": 20,
2292
+ "max": 20000,
2293
+ "step": 0,
2294
+ "unit": "Hz",
2295
+ "scale": "log"
2296
+ },
2297
+ "hpfFreqHz": {
2298
+ "min": 20,
2299
+ "max": 1000,
2300
+ "step": 0,
2301
+ "unit": "Hz",
2302
+ "scale": "log"
2303
+ },
2304
+ "lpfFreqHz": {
2305
+ "min": 1000,
2306
+ "max": 20000,
2307
+ "step": 0,
2308
+ "unit": "Hz",
2309
+ "scale": "log"
2310
+ }
2311
+ }
2312
+ },
1654
2313
  "STANDARD_SAMPLE_RATES": {
1655
2314
  "rel": "data/rates.json",
1656
2315
  "kind": "list",
@@ -1680,6 +2339,35 @@
1680
2339
  "doc": "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.",
1681
2340
  "unit": "Hz",
1682
2341
  "value": 96000
2342
+ },
2343
+ "ORACLE_FLOOR_RATES": {
2344
+ "rel": "data/rates.json",
2345
+ "kind": "list",
2346
+ "doc": "The four rates every kernel oracle runs at, whatever STANDARD_SAMPLE_RATES says: a declared list missing one of them stops a suite instead of testing less (omx-dsp, omx-plugins and omx-clap-host run their oracles at these).",
2347
+ "unit": "Hz",
2348
+ "value": [
2349
+ 44100,
2350
+ 48000,
2351
+ 96000,
2352
+ 192000
2353
+ ]
2354
+ },
2355
+ "RME_RATES": {
2356
+ "rel": "data/rates.json",
2357
+ "kind": "list",
2358
+ "doc": "The nine rates an RME interface clocks at, 32 to 192 kHz. STANDARD_SAMPLE_RATES is a subset of them; an oracle that runs here also covers 32, 64 and 128 kHz, where a kernel still has to meet its closed form even though the console never asks for them.",
2359
+ "unit": "Hz",
2360
+ "value": [
2361
+ 32000,
2362
+ 44100,
2363
+ 48000,
2364
+ 64000,
2365
+ 88200,
2366
+ 96000,
2367
+ 128000,
2368
+ 176400,
2369
+ 192000
2370
+ ]
1683
2371
  }
1684
2372
  }
1685
2373
  }