@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.
@@ -95,6 +95,103 @@ export const PROGRAM_RELEASE = {
95
95
  }
96
96
  };
97
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 const DEESS_FREQ_RANGE = {
103
+ "min": 2000,
104
+ "max": 16000,
105
+ "step": 10,
106
+ "unit": "Hz",
107
+ "default": 7000,
108
+ "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 const DEESS_WIDTH_RANGE = {
116
+ "min": 0.25,
117
+ "max": 4,
118
+ "step": 0.05,
119
+ "unit": "oct",
120
+ "default": 1,
121
+ "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 const DEESS_THRESHOLD_RANGE = {
129
+ "min": -60,
130
+ "max": 0,
131
+ "step": 0.5,
132
+ "unit": "dB",
133
+ "default": -30,
134
+ "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 const DEESS_RATIO_RANGE = {
142
+ "min": 1,
143
+ "max": 20,
144
+ "step": 0.1,
145
+ "unit": "",
146
+ "default": 4,
147
+ "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 const DEESS_RANGE_RANGE = {
155
+ "min": -24,
156
+ "max": 0,
157
+ "step": 0.5,
158
+ "unit": "dB",
159
+ "default": -12,
160
+ "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 const DEESS_ATTACK_RANGE = {
168
+ "min": 0.1,
169
+ "max": 50,
170
+ "step": 0.1,
171
+ "unit": "ms",
172
+ "default": 1,
173
+ "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 const DEESS_RELEASE_RANGE = {
181
+ "min": 5,
182
+ "max": 500,
183
+ "step": 1,
184
+ "unit": "ms",
185
+ "default": 60,
186
+ "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 const DEESS_KNEE_DB = 6;
194
+
98
195
  /**
99
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.
100
197
  * @see data/kernels/delay.json
@@ -212,6 +309,58 @@ export const ISO_THIRD_OCTAVE_CENTRES_HZ = [
212
309
  */
213
310
  export const GEQ_BANDS = 31;
214
311
 
312
+ /**
313
+ * The flanger's jet sweep (§3b).
314
+ * @see data/kernels/flanger.json
315
+ */
316
+ export const FLANGER_RATE_RANGE = {
317
+ "min": 0.05,
318
+ "max": 5,
319
+ "step": 0.01,
320
+ "unit": "Hz",
321
+ "default": 0.25,
322
+ "defaultFrom": "desk"
323
+ };
324
+
325
+ /**
326
+ * The flanger's peak-to-peak excursion above its declared 0.5 ms base (§3b).
327
+ * @see data/kernels/flanger.json
328
+ */
329
+ export const FLANGER_DEPTH_RANGE = {
330
+ "min": 0,
331
+ "max": 5,
332
+ "step": 0.1,
333
+ "unit": "ms",
334
+ "default": 2,
335
+ "defaultFrom": "desk"
336
+ };
337
+
338
+ /**
339
+ * 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.
340
+ * @see data/kernels/flanger.json
341
+ */
342
+ export const FLANGER_FEEDBACK_RANGE = {
343
+ "min": -0.95,
344
+ "max": 0.95,
345
+ "step": 0.01,
346
+ "unit": "",
347
+ "default": 0.6,
348
+ "defaultFrom": "desk"
349
+ };
350
+
351
+ /**
352
+ * The flanger's wet/dry, as an instance of DRIVE_MIX_RANGE: 50 %, equal dry and wet, where the comb is deepest (§3b).
353
+ * @see data/kernels/flanger.json
354
+ */
355
+ export const FLANGER_MIX_RANGE = {
356
+ "min": 0,
357
+ "max": 100,
358
+ "step": 0.1,
359
+ "unit": "%",
360
+ "default": 50,
361
+ "defaultFrom": "desk"
362
+ };
363
+
215
364
  /**
216
365
  * 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).
217
366
  * @see data/kernels/gate.json
@@ -291,6 +440,37 @@ export const GATE_LIMITS = {
291
440
  }
292
441
  };
293
442
 
443
+ /**
444
+ * 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).
445
+ * @see data/kernels/geq.json
446
+ */
447
+ export const GEQ_BAND_RANGE = {
448
+ "min": -15,
449
+ "max": 15,
450
+ "step": 0.5,
451
+ "unit": "dB",
452
+ "default": 0,
453
+ "defaultFrom": "desk"
454
+ };
455
+
456
+ /**
457
+ * 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).
458
+ * @see data/kernels/geq.json
459
+ */
460
+ export const GEQ_BAND_Q = 4.3;
461
+
462
+ /**
463
+ * 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.
464
+ * @see data/kernels/geq.json
465
+ */
466
+ export const GEQ_PROTO_DB = 12;
467
+
468
+ /**
469
+ * 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.
470
+ * @see data/kernels/geq.json
471
+ */
472
+ export const GEQ_DESIGN_GAIN_MAX_DB = 30;
473
+
294
474
  /**
295
475
  * 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.
296
476
  * @see data/kernels/limiter.json
@@ -322,6 +502,144 @@ export const LIMITER_LIMITS = {
322
502
  }
323
503
  };
324
504
 
505
+ /**
506
+ * The phaser's sweep speed (§3). `omx_lfo_inc` freezes at Nyquist; this travel stays far below.
507
+ * @see data/kernels/phaser.json
508
+ */
509
+ export const PHASER_RATE_RANGE = {
510
+ "min": 0.05,
511
+ "max": 5,
512
+ "step": 0.01,
513
+ "unit": "Hz",
514
+ "default": 0.5,
515
+ "defaultFrom": "desk"
516
+ };
517
+
518
+ /**
519
+ * The phaser's lowest centre frequency; the sweep runs upward from it (§3).
520
+ * @see data/kernels/phaser.json
521
+ */
522
+ export const PHASER_BASE_RANGE = {
523
+ "min": 50,
524
+ "max": 2000,
525
+ "step": 1,
526
+ "unit": "Hz",
527
+ "default": 200,
528
+ "defaultFrom": "desk"
529
+ };
530
+
531
+ /**
532
+ * The sweep's span above `base`, in octaves; 0 is a static phaser at `base` (§3).
533
+ * @see data/kernels/phaser.json
534
+ */
535
+ export const PHASER_DEPTH_RANGE = {
536
+ "min": 0,
537
+ "max": 6,
538
+ "step": 0.1,
539
+ "unit": "oct",
540
+ "default": 4,
541
+ "defaultFrom": "desk"
542
+ };
543
+
544
+ /**
545
+ * 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.
546
+ * @see data/kernels/phaser.json
547
+ */
548
+ export const PHASER_STAGES_RANGE = {
549
+ "min": 2,
550
+ "max": 12,
551
+ "step": 2,
552
+ "unit": "",
553
+ "default": 6,
554
+ "defaultFrom": "desk"
555
+ };
556
+
557
+ /**
558
+ * The member set the `stages` field accepts: PHASER_STAGES_RANGE walked by its step.
559
+ * @see data/kernels/phaser.json
560
+ */
561
+ export const PHASER_STAGE_COUNTS = [
562
+ 2,
563
+ 4,
564
+ 6,
565
+ 8,
566
+ 10,
567
+ 12
568
+ ];
569
+
570
+ /**
571
+ * 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.
572
+ * @see data/kernels/phaser.json
573
+ */
574
+ export const PHASER_FEEDBACK_RANGE = {
575
+ "min": -0.9,
576
+ "max": 0.9,
577
+ "step": 0.01,
578
+ "unit": "",
579
+ "default": 0.4,
580
+ "defaultFrom": "desk"
581
+ };
582
+
583
+ /**
584
+ * The phaser's wet/dry, as an instance of DRIVE_MIX_RANGE: 50 %, where the notch is complete (§3).
585
+ * @see data/kernels/phaser.json
586
+ */
587
+ export const PHASER_MIX_RANGE = {
588
+ "min": 0,
589
+ "max": 100,
590
+ "step": 0.1,
591
+ "unit": "%",
592
+ "default": 50,
593
+ "defaultFrom": "desk"
594
+ };
595
+
596
+ /**
597
+ * 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.
598
+ * @see data/kernels/phaser.json
599
+ */
600
+ export const PHASER_TRAVELS = {
601
+ "rateHz": {
602
+ "min": 0.05,
603
+ "max": 5,
604
+ "step": 0.01,
605
+ "unit": "Hz",
606
+ "default": 0.5,
607
+ "defaultFrom": "desk"
608
+ },
609
+ "baseHz": {
610
+ "min": 50,
611
+ "max": 2000,
612
+ "step": 1,
613
+ "unit": "Hz",
614
+ "default": 200,
615
+ "defaultFrom": "desk"
616
+ },
617
+ "depthOct": {
618
+ "min": 0,
619
+ "max": 6,
620
+ "step": 0.1,
621
+ "unit": "oct",
622
+ "default": 4,
623
+ "defaultFrom": "desk"
624
+ },
625
+ "feedback": {
626
+ "min": -0.9,
627
+ "max": 0.9,
628
+ "step": 0.01,
629
+ "unit": "",
630
+ "default": 0.4,
631
+ "defaultFrom": "desk"
632
+ },
633
+ "mix": {
634
+ "min": 0,
635
+ "max": 100,
636
+ "step": 0.1,
637
+ "unit": "%",
638
+ "default": 50,
639
+ "defaultFrom": "desk"
640
+ }
641
+ };
642
+
325
643
  /**
326
644
  * PITCH_LIMITS, moved from openmixer.
327
645
  * @see data/kernels/pitch.json
@@ -367,6 +685,232 @@ export const REVERB_PLATE_MOD_DEPTH_RANGE = {
367
685
  "defaultFrom": "desk"
368
686
  };
369
687
 
688
+ /**
689
+ * The horn's chorale (slow) rate, Hz.
690
+ * @see data/kernels/rotary.json
691
+ */
692
+ export const ROTARY_HORN_SLOW_RANGE = {
693
+ "min": 0.1,
694
+ "max": 2,
695
+ "step": 0.01,
696
+ "unit": "Hz",
697
+ "default": 0.8,
698
+ "defaultFrom": "desk"
699
+ };
700
+
701
+ /**
702
+ * The horn's tremolo (fast) rate, Hz.
703
+ * @see data/kernels/rotary.json
704
+ */
705
+ export const ROTARY_HORN_FAST_RANGE = {
706
+ "min": 3,
707
+ "max": 10,
708
+ "step": 0.01,
709
+ "unit": "Hz",
710
+ "default": 6.8,
711
+ "defaultFrom": "desk"
712
+ };
713
+
714
+ /**
715
+ * The drum's chorale (slow) rate, Hz.
716
+ * @see data/kernels/rotary.json
717
+ */
718
+ export const ROTARY_DRUM_SLOW_RANGE = {
719
+ "min": 0.1,
720
+ "max": 2,
721
+ "step": 0.01,
722
+ "unit": "Hz",
723
+ "default": 0.7,
724
+ "defaultFrom": "desk"
725
+ };
726
+
727
+ /**
728
+ * The drum's tremolo (fast) rate, Hz.
729
+ * @see data/kernels/rotary.json
730
+ */
731
+ export const ROTARY_DRUM_FAST_RANGE = {
732
+ "min": 3,
733
+ "max": 10,
734
+ "step": 0.01,
735
+ "unit": "Hz",
736
+ "default": 5.9,
737
+ "defaultFrom": "desk"
738
+ };
739
+
740
+ /**
741
+ * The scale on every speed-change time constant (`ROTARY_*_ACCEL_MS`/`_DECEL_MS`): 2 is twice as slow.
742
+ * @see data/kernels/rotary.json
743
+ */
744
+ export const ROTARY_ACCEL_RANGE = {
745
+ "min": 0.25,
746
+ "max": 4,
747
+ "step": 0.01,
748
+ "unit": "x",
749
+ "default": 1,
750
+ "defaultFrom": "desk"
751
+ };
752
+
753
+ /**
754
+ * The drum/horn balance, percent: −100 drum only, +100 horn only; the law attenuates, never boosts.
755
+ * @see data/kernels/rotary.json
756
+ */
757
+ export const ROTARY_BALANCE_RANGE = {
758
+ "min": -100,
759
+ "max": 100,
760
+ "step": 1,
761
+ "unit": "%",
762
+ "default": 0,
763
+ "defaultFrom": "desk"
764
+ };
765
+
766
+ /**
767
+ * 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).
768
+ * @see data/kernels/rotary.json
769
+ */
770
+ export const ROTARY_MIX_RANGE = {
771
+ "min": 0,
772
+ "max": 100,
773
+ "step": 0.1,
774
+ "unit": "%",
775
+ "default": 100,
776
+ "defaultFrom": "desk"
777
+ };
778
+
779
+ /**
780
+ * 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).
781
+ * @see data/kernels/rotary.json
782
+ */
783
+ export const ROTARY_TRAVELS = {
784
+ "hornSlowHz": {
785
+ "min": 0.1,
786
+ "max": 2,
787
+ "step": 0.01,
788
+ "unit": "Hz",
789
+ "default": 0.8,
790
+ "defaultFrom": "desk"
791
+ },
792
+ "hornFastHz": {
793
+ "min": 3,
794
+ "max": 10,
795
+ "step": 0.01,
796
+ "unit": "Hz",
797
+ "default": 6.8,
798
+ "defaultFrom": "desk"
799
+ },
800
+ "drumSlowHz": {
801
+ "min": 0.1,
802
+ "max": 2,
803
+ "step": 0.01,
804
+ "unit": "Hz",
805
+ "default": 0.7,
806
+ "defaultFrom": "desk"
807
+ },
808
+ "drumFastHz": {
809
+ "min": 3,
810
+ "max": 10,
811
+ "step": 0.01,
812
+ "unit": "Hz",
813
+ "default": 5.9,
814
+ "defaultFrom": "desk"
815
+ },
816
+ "accel": {
817
+ "min": 0.25,
818
+ "max": 4,
819
+ "step": 0.01,
820
+ "unit": "x",
821
+ "default": 1,
822
+ "defaultFrom": "desk"
823
+ },
824
+ "balance": {
825
+ "min": -100,
826
+ "max": 100,
827
+ "step": 1,
828
+ "unit": "%",
829
+ "default": 0,
830
+ "defaultFrom": "desk"
831
+ },
832
+ "mix": {
833
+ "min": 0,
834
+ "max": 100,
835
+ "step": 0.1,
836
+ "unit": "%",
837
+ "default": 100,
838
+ "defaultFrom": "desk"
839
+ }
840
+ };
841
+
842
+ /**
843
+ * The complementary split's low-pass corner, Hz: the Leslie 122's passive crossover.
844
+ * @see data/kernels/rotary.json
845
+ */
846
+ export const ROTARY_CROSSOVER_HZ = 800;
847
+
848
+ /**
849
+ * The shortest Doppler read, ms — above the order-3 read's one-sample reach at every rate.
850
+ * @see data/kernels/rotary.json
851
+ */
852
+ export const ROTARY_BASE_MS = 0.1;
853
+
854
+ /**
855
+ * The horn's Doppler excursion `D_horn`, ms: a 0.15 m radius over 343 m/s.
856
+ * @see data/kernels/rotary.json
857
+ */
858
+ export const ROTARY_HORN_DOPPLER_MS = 0.44;
859
+
860
+ /**
861
+ * The drum's Doppler excursion `D_drum`, ms: its baffle turns over a fixed woofer.
862
+ * @see data/kernels/rotary.json
863
+ */
864
+ export const ROTARY_DRUM_DOPPLER_MS = 0.29;
865
+
866
+ /**
867
+ * The horn's amplitude swing `m_horn` (a −6 dB directivity dip), a ratio.
868
+ * @see data/kernels/rotary.json
869
+ */
870
+ export const ROTARY_HORN_AM = 0.5;
871
+
872
+ /**
873
+ * The drum baffle's amplitude swing `m_drum`, a ratio.
874
+ * @see data/kernels/rotary.json
875
+ */
876
+ export const ROTARY_DRUM_AM = 0.3;
877
+
878
+ /**
879
+ * The horn rotor's speed-up time constant, ms (at `accel` 1).
880
+ * @see data/kernels/rotary.json
881
+ */
882
+ export const ROTARY_HORN_ACCEL_MS = 330;
883
+
884
+ /**
885
+ * The horn rotor's slow-down time constant, ms (at `accel` 1).
886
+ * @see data/kernels/rotary.json
887
+ */
888
+ export const ROTARY_HORN_DECEL_MS = 500;
889
+
890
+ /**
891
+ * The drum rotor's speed-up time constant, ms (at `accel` 1).
892
+ * @see data/kernels/rotary.json
893
+ */
894
+ export const ROTARY_DRUM_ACCEL_MS = 1700;
895
+
896
+ /**
897
+ * The drum rotor's slow-down time constant, ms (at `accel` 1).
898
+ * @see data/kernels/rotary.json
899
+ */
900
+ export const ROTARY_DRUM_DECEL_MS = 1800;
901
+
902
+ /**
903
+ * Below this rate, Hz, a rotor coasting toward `stop` is snapped to exactly 0.
904
+ * @see data/kernels/rotary.json
905
+ */
906
+ export const ROTARY_STOP_EPS = 0.0001;
907
+
908
+ /**
909
+ * One inline ring per rotor per leg, floats — at least the 192 kHz need of the horn's sweep.
910
+ * @see data/kernels/rotary.json
911
+ */
912
+ export const ROTARY_RING_FLOATS = 256;
913
+
370
914
  /**
371
915
  * 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).
372
916
  * @see data/kernels/transient.json
@@ -439,62 +983,73 @@ export const TRANSIENT_REF_DB = 6;
439
983
  export const TRANSIENT_FLOOR_LIN = 0.00001;
440
984
 
441
985
  /**
442
- * The delay plugin's parameters, in append-only order: DPF's parameter index is the CLAP param id and the LV2 port order (omx-plugins-dpf §3b). Moved from openmixer's packages/omx-plugins/tools/params-gen.mjs PLUGINS.delay.
443
- *
444
- * Why: mix is per instance on the desk (insert or fxReturn); a plugin racked in a foreign host is an INSERT, so it reads the input kind's default (omx-plugins-dpf §3a).
445
- * @see data/plugins/delay.json
446
- */
447
- export const DELAY_PLUGIN = {
448
- "plugin": "delay",
449
- "header": "omx_delay_params.h",
450
- "prefix": "OMX_DELAY",
451
- "params": [
452
- {
453
- "symbol": "timeMs",
454
- "min": 0,
455
- "max": 2000,
456
- "def": 300,
457
- "step": 1,
458
- "unit": "ms",
459
- "toggle": false
460
- },
461
- {
462
- "symbol": "feedback",
463
- "min": 0,
464
- "max": 0.99,
465
- "def": 0.3,
466
- "step": 0,
467
- "unit": "",
468
- "toggle": false
469
- },
470
- {
471
- "symbol": "mix",
472
- "min": 0,
473
- "max": 1,
474
- "def": 0.3,
475
- "step": 0,
476
- "unit": "",
477
- "toggle": false
478
- },
479
- {
480
- "symbol": "tone",
481
- "min": 0,
482
- "max": 1,
483
- "def": 0.3,
484
- "step": 0,
485
- "unit": "",
486
- "toggle": false
487
- },
488
- {
489
- "symbol": "pingpong",
490
- "min": 0,
491
- "max": 1,
492
- "def": 0,
493
- "step": 1,
494
- "unit": "",
495
- "toggle": true
496
- }
497
- ]
986
+ * The tremolo's LFO rate (the catalogue row's 0.1..20 Hz); 4 Hz is the classic amp tremolo.
987
+ * @see data/kernels/tremolo.json
988
+ */
989
+ export const TREMOLO_RATE_RANGE = {
990
+ "min": 0.1,
991
+ "max": 20,
992
+ "step": 0.01,
993
+ "unit": "Hz",
994
+ "default": 4,
995
+ "defaultFrom": "desk"
996
+ };
997
+
998
+ /**
999
+ * The tremolo's modulation depth: the gain's trough is `1 − mix·depth`.
1000
+ * @see data/kernels/tremolo.json
1001
+ */
1002
+ export const TREMOLO_DEPTH_RANGE = {
1003
+ "min": 0,
1004
+ "max": 100,
1005
+ "step": 0.1,
1006
+ "unit": "%",
1007
+ "default": 50,
1008
+ "defaultFrom": "desk"
1009
+ };
1010
+
1011
+ /**
1012
+ * 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).
1013
+ * @see data/kernels/tremolo.json
1014
+ */
1015
+ export const TREMOLO_MIX_RANGE = {
1016
+ "min": 0,
1017
+ "max": 100,
1018
+ "step": 0.1,
1019
+ "unit": "%",
1020
+ "default": 100,
1021
+ "defaultFrom": "desk"
1022
+ };
1023
+
1024
+ /**
1025
+ * 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).
1026
+ * @see data/kernels/tremolo.json
1027
+ */
1028
+ export const TREMOLO_TRAVELS = {
1029
+ "rateHz": {
1030
+ "min": 0.1,
1031
+ "max": 20,
1032
+ "step": 0.01,
1033
+ "unit": "Hz",
1034
+ "default": 4,
1035
+ "defaultFrom": "desk"
1036
+ },
1037
+ "depth": {
1038
+ "min": 0,
1039
+ "max": 100,
1040
+ "step": 0.1,
1041
+ "unit": "%",
1042
+ "default": 50,
1043
+ "defaultFrom": "desk"
1044
+ },
1045
+ "mix": {
1046
+ "min": 0,
1047
+ "max": 100,
1048
+ "step": 0.1,
1049
+ "unit": "%",
1050
+ "default": 100,
1051
+ "defaultFrom": "desk"
1052
+ }
498
1053
  };
499
1054
 
500
1055
  /**