@effetune/dsp 0.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.
@@ -0,0 +1,1460 @@
1
+ // Generated by scripts/gen-dsp-library-bindings.mjs. Do not edit.
2
+ import { Effect } from './effect.js';
3
+
4
+ export type EffectType = "LevelMeter" | "Oscilloscope" | "Spectrogram" | "SpectrumAnalyzer" | "StereoMeter" | "ChannelDivider" | "DCOffset" | "FIRCrossover" | "Matrix" | "MultiChannelPanel" | "Mute" | "PolarityInversion" | "StereoBalance" | "Volume" | "Delay" | "TimeAlignment" | "AutoLeveler" | "BrickwallLimiter" | "Compressor" | "Expander" | "Gate" | "MultibandCompressor" | "MultibandExpander" | "MultibandTransient" | "PowerAmpSag" | "TransientShaper" | "BandPassFilter" | "CombFilter" | "EarphoneCableSim" | "FifteenBandGEQ" | "FifteenBandPEQ" | "FiveBandDynamicEQ" | "FiveBandFIRPEQ" | "FiveBandPEQ" | "GroupDelayEQ" | "HiPassFilter" | "LoPassFilter" | "LoudnessEqualizer" | "NarrowRange" | "RoomEQ" | "TiltEQ" | "ToneControl" | "AMRadioSimulator" | "BitCrusher" | "DigitalErrorEmulator" | "DSD64IMDSimulator" | "FMRadioSimulator" | "HumGenerator" | "NoiseBlender" | "SimpleJitter" | "SWRadioSimulator" | "VinylArtifacts" | "VinylSimulator" | "DopplerDistortion" | "PitchShifter" | "Tremolo" | "WowFlutter" | "Oscillator" | "HornResonator" | "HornResonatorPlus" | "ModalResonator" | "DattorroPlateReverb" | "FDNReverb" | "IRReverb" | "RSReverb" | "DynamicSaturation" | "Exciter" | "HardClipping" | "HarmonicDistortion" | "MultibandSaturation" | "Saturation" | "SubSynth" | "CrossfeedFilter" | "MSMatrix" | "MultibandBalance" | "StereoBlend";
5
+ type RequiredAssetEffectType = "FIRCrossover" | "FiveBandFIRPEQ" | "GroupDelayEQ" | "RoomEQ" | "IRReverb";
6
+ export type EffectChannel = "all" | "stereo" | "left" | "right" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "34" | "56" | "78";
7
+
8
+ export interface CommonEffectOptions {
9
+ readonly id?: string;
10
+ readonly enabled?: boolean;
11
+ readonly channel?: EffectChannel;
12
+ }
13
+
14
+ export interface IRReverbAssets {
15
+ readonly impulseResponse: string;
16
+ }
17
+
18
+ export interface LevelMeterOptions extends CommonEffectOptions {
19
+ readonly assets?: never;
20
+ }
21
+
22
+ export declare class LevelMeter extends Effect {
23
+ static readonly effectType: "LevelMeter";
24
+ constructor(options?: LevelMeterOptions);
25
+ }
26
+
27
+ export declare function createLevelMeter(options?: LevelMeterOptions): LevelMeter;
28
+
29
+ export interface OscilloscopeOptions extends CommonEffectOptions {
30
+ readonly displayTime?: number;
31
+ readonly triggerMode?: "Auto" | "Normal";
32
+ readonly triggerLevel?: number;
33
+ readonly triggerEdge?: "Rising" | "Falling";
34
+ readonly holdoff?: number;
35
+ readonly displayLevel?: number;
36
+ readonly verticalOffset?: number;
37
+ readonly assets?: never;
38
+ }
39
+
40
+ export declare class Oscilloscope extends Effect {
41
+ static readonly effectType: "Oscilloscope";
42
+ constructor(options?: OscilloscopeOptions);
43
+ }
44
+
45
+ export declare function createOscilloscope(options?: OscilloscopeOptions): Oscilloscope;
46
+
47
+ export interface SpectrogramOptions extends CommonEffectOptions {
48
+ readonly dBRange?: number;
49
+ readonly points?: number;
50
+ readonly assets?: never;
51
+ }
52
+
53
+ export declare class Spectrogram extends Effect {
54
+ static readonly effectType: "Spectrogram";
55
+ constructor(options?: SpectrogramOptions);
56
+ }
57
+
58
+ export declare function createSpectrogram(options?: SpectrogramOptions): Spectrogram;
59
+
60
+ export interface SpectrumAnalyzerOptions extends CommonEffectOptions {
61
+ readonly dBRange?: number;
62
+ readonly points?: number;
63
+ readonly assets?: never;
64
+ }
65
+
66
+ export declare class SpectrumAnalyzer extends Effect {
67
+ static readonly effectType: "SpectrumAnalyzer";
68
+ constructor(options?: SpectrumAnalyzerOptions);
69
+ }
70
+
71
+ export declare function createSpectrumAnalyzer(options?: SpectrumAnalyzerOptions): SpectrumAnalyzer;
72
+
73
+ export interface StereoMeterOptions extends CommonEffectOptions {
74
+ readonly windowTime?: number;
75
+ readonly assets?: never;
76
+ }
77
+
78
+ export declare class StereoMeter extends Effect {
79
+ static readonly effectType: "StereoMeter";
80
+ constructor(options?: StereoMeterOptions);
81
+ }
82
+
83
+ export declare function createStereoMeter(options?: StereoMeterOptions): StereoMeter;
84
+
85
+ export interface ChannelDividerOptions extends CommonEffectOptions {
86
+ readonly bandCount?: number;
87
+ readonly frequency1?: number;
88
+ readonly slope1?: number;
89
+ readonly frequency2?: number;
90
+ readonly slope2?: number;
91
+ readonly frequency3?: number;
92
+ readonly slope3?: number;
93
+ readonly assets?: never;
94
+ }
95
+
96
+ export declare class ChannelDivider extends Effect {
97
+ static readonly effectType: "ChannelDivider";
98
+ constructor(options?: ChannelDividerOptions);
99
+ }
100
+
101
+ export declare function createChannelDivider(options?: ChannelDividerOptions): ChannelDivider;
102
+
103
+ export interface DCOffsetOptions extends CommonEffectOptions {
104
+ readonly offset?: number;
105
+ readonly assets?: never;
106
+ }
107
+
108
+ export declare class DCOffset extends Effect {
109
+ static readonly effectType: "DCOffset";
110
+ constructor(options?: DCOffsetOptions);
111
+ }
112
+
113
+ export declare function createDCOffset(options?: DCOffsetOptions): DCOffset;
114
+
115
+ export interface FIRCrossoverOptions extends CommonEffectOptions {
116
+ readonly latencyMode?: "0" | "128" | "256" | "512" | "1024";
117
+ readonly filterDelaySamples?: number;
118
+ readonly bandCount?: number;
119
+ readonly assets: IRReverbAssets;
120
+ }
121
+
122
+ export declare class FIRCrossover extends Effect {
123
+ static readonly effectType: "FIRCrossover";
124
+ constructor(options: FIRCrossoverOptions);
125
+ }
126
+
127
+ export declare function createFIRCrossover(options: FIRCrossoverOptions): FIRCrossover;
128
+
129
+ export interface MatrixOptions extends CommonEffectOptions {
130
+ readonly matrixRoutes?: string;
131
+ readonly assets?: never;
132
+ }
133
+
134
+ export declare class Matrix extends Effect {
135
+ static readonly effectType: "Matrix";
136
+ constructor(options?: MatrixOptions);
137
+ }
138
+
139
+ export declare function createMatrix(options?: MatrixOptions): Matrix;
140
+
141
+ export interface MultiChannelPanelOptions extends CommonEffectOptions {
142
+ readonly mute?: readonly [boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean];
143
+ readonly solo?: readonly [boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean];
144
+ readonly volume?: readonly [number, number, number, number, number, number, number, number];
145
+ readonly delay?: readonly [number, number, number, number, number, number, number, number];
146
+ readonly link?: readonly [boolean, boolean, boolean, boolean, boolean, boolean, boolean];
147
+ readonly assets?: never;
148
+ }
149
+
150
+ export declare class MultiChannelPanel extends Effect {
151
+ static readonly effectType: "MultiChannelPanel";
152
+ constructor(options?: MultiChannelPanelOptions);
153
+ }
154
+
155
+ export declare function createMultiChannelPanel(options?: MultiChannelPanelOptions): MultiChannelPanel;
156
+
157
+ export interface MuteOptions extends CommonEffectOptions {
158
+ readonly assets?: never;
159
+ }
160
+
161
+ export declare class Mute extends Effect {
162
+ static readonly effectType: "Mute";
163
+ constructor(options?: MuteOptions);
164
+ }
165
+
166
+ export declare function createMute(options?: MuteOptions): Mute;
167
+
168
+ export interface PolarityInversionOptions extends CommonEffectOptions {
169
+ readonly assets?: never;
170
+ }
171
+
172
+ export declare class PolarityInversion extends Effect {
173
+ static readonly effectType: "PolarityInversion";
174
+ constructor(options?: PolarityInversionOptions);
175
+ }
176
+
177
+ export declare function createPolarityInversion(options?: PolarityInversionOptions): PolarityInversion;
178
+
179
+ export interface StereoBalanceOptions extends CommonEffectOptions {
180
+ readonly balance?: number;
181
+ readonly assets?: never;
182
+ }
183
+
184
+ export declare class StereoBalance extends Effect {
185
+ static readonly effectType: "StereoBalance";
186
+ constructor(options?: StereoBalanceOptions);
187
+ }
188
+
189
+ export declare function createStereoBalance(options?: StereoBalanceOptions): StereoBalance;
190
+
191
+ export interface VolumeOptions extends CommonEffectOptions {
192
+ readonly volume?: number;
193
+ readonly assets?: never;
194
+ }
195
+
196
+ export declare class Volume extends Effect {
197
+ static readonly effectType: "Volume";
198
+ constructor(options?: VolumeOptions);
199
+ }
200
+
201
+ export declare function createVolume(options?: VolumeOptions): Volume;
202
+
203
+ export interface DelayOptions extends CommonEffectOptions {
204
+ readonly preDelay?: number;
205
+ readonly delaySize?: number;
206
+ readonly damping?: number;
207
+ readonly highDamp?: number;
208
+ readonly lowDamp?: number;
209
+ readonly mix?: number;
210
+ readonly feedback?: number;
211
+ readonly pingPong?: number;
212
+ readonly assets?: never;
213
+ }
214
+
215
+ export declare class Delay extends Effect {
216
+ static readonly effectType: "Delay";
217
+ constructor(options?: DelayOptions);
218
+ }
219
+
220
+ export declare function createDelay(options?: DelayOptions): Delay;
221
+
222
+ export interface TimeAlignmentOptions extends CommonEffectOptions {
223
+ readonly delay?: number;
224
+ readonly assets?: never;
225
+ }
226
+
227
+ export declare class TimeAlignment extends Effect {
228
+ static readonly effectType: "TimeAlignment";
229
+ constructor(options?: TimeAlignmentOptions);
230
+ }
231
+
232
+ export declare function createTimeAlignment(options?: TimeAlignmentOptions): TimeAlignment;
233
+
234
+ export interface AutoLevelerOptions extends CommonEffectOptions {
235
+ readonly targetLufs?: number;
236
+ readonly timeWindow?: number;
237
+ readonly maxGain?: number;
238
+ readonly minGain?: number;
239
+ readonly attack?: number;
240
+ readonly release?: number;
241
+ readonly noiseGate?: number;
242
+ readonly assets?: never;
243
+ }
244
+
245
+ export declare class AutoLeveler extends Effect {
246
+ static readonly effectType: "AutoLeveler";
247
+ constructor(options?: AutoLevelerOptions);
248
+ }
249
+
250
+ export declare function createAutoLeveler(options?: AutoLevelerOptions): AutoLeveler;
251
+
252
+ export interface BrickwallLimiterOptions extends CommonEffectOptions {
253
+ readonly threshold?: number;
254
+ readonly release?: number;
255
+ readonly lookahead?: number;
256
+ readonly oversampling?: 1 | 2 | 4 | 8;
257
+ readonly inputGain?: number;
258
+ readonly margin?: number;
259
+ readonly assets?: never;
260
+ }
261
+
262
+ export declare class BrickwallLimiter extends Effect {
263
+ static readonly effectType: "BrickwallLimiter";
264
+ constructor(options?: BrickwallLimiterOptions);
265
+ }
266
+
267
+ export declare function createBrickwallLimiter(options?: BrickwallLimiterOptions): BrickwallLimiter;
268
+
269
+ export interface CompressorOptions extends CommonEffectOptions {
270
+ readonly threshold?: number;
271
+ readonly ratio?: number;
272
+ readonly attack?: number;
273
+ readonly release?: number;
274
+ readonly knee?: number;
275
+ readonly gain?: number;
276
+ readonly assets?: never;
277
+ }
278
+
279
+ export declare class Compressor extends Effect {
280
+ static readonly effectType: "Compressor";
281
+ constructor(options?: CompressorOptions);
282
+ }
283
+
284
+ export declare function createCompressor(options?: CompressorOptions): Compressor;
285
+
286
+ export interface ExpanderOptions extends CommonEffectOptions {
287
+ readonly threshold?: number;
288
+ readonly ratio?: number;
289
+ readonly attack?: number;
290
+ readonly release?: number;
291
+ readonly knee?: number;
292
+ readonly gain?: number;
293
+ readonly assets?: never;
294
+ }
295
+
296
+ export declare class Expander extends Effect {
297
+ static readonly effectType: "Expander";
298
+ constructor(options?: ExpanderOptions);
299
+ }
300
+
301
+ export declare function createExpander(options?: ExpanderOptions): Expander;
302
+
303
+ export interface GateOptions extends CommonEffectOptions {
304
+ readonly threshold?: number;
305
+ readonly ratio?: number;
306
+ readonly attack?: number;
307
+ readonly release?: number;
308
+ readonly knee?: number;
309
+ readonly gain?: number;
310
+ readonly assets?: never;
311
+ }
312
+
313
+ export declare class Gate extends Effect {
314
+ static readonly effectType: "Gate";
315
+ constructor(options?: GateOptions);
316
+ }
317
+
318
+ export declare function createGate(options?: GateOptions): Gate;
319
+
320
+ export interface MultibandCompressorOptions extends CommonEffectOptions {
321
+ readonly frequency1?: number;
322
+ readonly frequency2?: number;
323
+ readonly frequency3?: number;
324
+ readonly frequency4?: number;
325
+ readonly threshold?: readonly [number, number, number, number, number];
326
+ readonly ratio?: readonly [number, number, number, number, number];
327
+ readonly attack?: readonly [number, number, number, number, number];
328
+ readonly release?: readonly [number, number, number, number, number];
329
+ readonly knee?: readonly [number, number, number, number, number];
330
+ readonly gain?: readonly [number, number, number, number, number];
331
+ readonly assets?: never;
332
+ }
333
+
334
+ export declare class MultibandCompressor extends Effect {
335
+ static readonly effectType: "MultibandCompressor";
336
+ constructor(options?: MultibandCompressorOptions);
337
+ }
338
+
339
+ export declare function createMultibandCompressor(options?: MultibandCompressorOptions): MultibandCompressor;
340
+
341
+ export interface MultibandExpanderOptions extends CommonEffectOptions {
342
+ readonly frequency1?: number;
343
+ readonly frequency2?: number;
344
+ readonly frequency3?: number;
345
+ readonly frequency4?: number;
346
+ readonly threshold?: readonly [number, number, number, number, number];
347
+ readonly ratio?: readonly [number, number, number, number, number];
348
+ readonly attack?: readonly [number, number, number, number, number];
349
+ readonly release?: readonly [number, number, number, number, number];
350
+ readonly knee?: readonly [number, number, number, number, number];
351
+ readonly gain?: readonly [number, number, number, number, number];
352
+ readonly assets?: never;
353
+ }
354
+
355
+ export declare class MultibandExpander extends Effect {
356
+ static readonly effectType: "MultibandExpander";
357
+ constructor(options?: MultibandExpanderOptions);
358
+ }
359
+
360
+ export declare function createMultibandExpander(options?: MultibandExpanderOptions): MultibandExpander;
361
+
362
+ export interface MultibandTransientOptions extends CommonEffectOptions {
363
+ readonly frequency1?: number;
364
+ readonly frequency2?: number;
365
+ readonly fastAttack?: readonly [number, number, number];
366
+ readonly fastRelease?: readonly [number, number, number];
367
+ readonly slowAttack?: readonly [number, number, number];
368
+ readonly slowRelease?: readonly [number, number, number];
369
+ readonly transientGain?: readonly [number, number, number];
370
+ readonly sustainGain?: readonly [number, number, number];
371
+ readonly gainSmoothing?: readonly [number, number, number];
372
+ readonly assets?: never;
373
+ }
374
+
375
+ export declare class MultibandTransient extends Effect {
376
+ static readonly effectType: "MultibandTransient";
377
+ constructor(options?: MultibandTransientOptions);
378
+ }
379
+
380
+ export declare function createMultibandTransient(options?: MultibandTransientOptions): MultibandTransient;
381
+
382
+ export interface PowerAmpSagOptions extends CommonEffectOptions {
383
+ readonly sagSensitivity?: number;
384
+ readonly powerStability?: number;
385
+ readonly recoverySpeed?: number;
386
+ readonly monoblock?: boolean;
387
+ readonly assets?: never;
388
+ }
389
+
390
+ export declare class PowerAmpSag extends Effect {
391
+ static readonly effectType: "PowerAmpSag";
392
+ constructor(options?: PowerAmpSagOptions);
393
+ }
394
+
395
+ export declare function createPowerAmpSag(options?: PowerAmpSagOptions): PowerAmpSag;
396
+
397
+ export interface TransientShaperOptions extends CommonEffectOptions {
398
+ readonly fastAttack?: number;
399
+ readonly fastRelease?: number;
400
+ readonly slowAttack?: number;
401
+ readonly slowRelease?: number;
402
+ readonly transientGain?: number;
403
+ readonly sustainGain?: number;
404
+ readonly gainSmoothing?: number;
405
+ readonly assets?: never;
406
+ }
407
+
408
+ export declare class TransientShaper extends Effect {
409
+ static readonly effectType: "TransientShaper";
410
+ constructor(options?: TransientShaperOptions);
411
+ }
412
+
413
+ export declare function createTransientShaper(options?: TransientShaperOptions): TransientShaper;
414
+
415
+ export interface BandPassFilterOptions extends CommonEffectOptions {
416
+ readonly highPassFrequency?: number;
417
+ readonly lowPassFrequency?: number;
418
+ readonly highPassSlope?: number;
419
+ readonly lowPassSlope?: number;
420
+ readonly assets?: never;
421
+ }
422
+
423
+ export declare class BandPassFilter extends Effect {
424
+ static readonly effectType: "BandPassFilter";
425
+ constructor(options?: BandPassFilterOptions);
426
+ }
427
+
428
+ export declare function createBandPassFilter(options?: BandPassFilterOptions): BandPassFilter;
429
+
430
+ export interface CombFilterOptions extends CommonEffectOptions {
431
+ readonly fundamentalFrequency?: number;
432
+ readonly feedbackGain?: number;
433
+ readonly dryWetMix?: number;
434
+ readonly combType?: "fb" | "ff";
435
+ readonly assets?: never;
436
+ }
437
+
438
+ export declare class CombFilter extends Effect {
439
+ static readonly effectType: "CombFilter";
440
+ constructor(options?: CombFilterOptions);
441
+ }
442
+
443
+ export declare function createCombFilter(options?: CombFilterOptions): CombFilter;
444
+
445
+ export interface EarphoneCableSimOptions extends CommonEffectOptions {
446
+ readonly outputImpedance?: number;
447
+ readonly cableResistance?: number;
448
+ readonly cableInductance?: number;
449
+ readonly voiceCoilInductance?: number;
450
+ readonly baseImpedance?: number;
451
+ readonly resonanceFrequency?: readonly [number, number, number, number, number];
452
+ readonly resonanceQ?: readonly [number, number, number, number, number];
453
+ readonly resonanceImpedance?: readonly [number, number, number, number, number];
454
+ readonly resonanceEnabled?: readonly [boolean, boolean, boolean, boolean, boolean];
455
+ readonly assets?: never;
456
+ }
457
+
458
+ export declare class EarphoneCableSim extends Effect {
459
+ static readonly effectType: "EarphoneCableSim";
460
+ constructor(options?: EarphoneCableSimOptions);
461
+ }
462
+
463
+ export declare function createEarphoneCableSim(options?: EarphoneCableSimOptions): EarphoneCableSim;
464
+
465
+ export interface FifteenBandGEQOptions extends CommonEffectOptions {
466
+ readonly bandGain?: readonly [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
467
+ readonly assets?: never;
468
+ }
469
+
470
+ export declare class FifteenBandGEQ extends Effect {
471
+ static readonly effectType: "FifteenBandGEQ";
472
+ constructor(options?: FifteenBandGEQOptions);
473
+ }
474
+
475
+ export declare function createFifteenBandGEQ(options?: FifteenBandGEQOptions): FifteenBandGEQ;
476
+
477
+ export interface FifteenBandPEQOptions extends CommonEffectOptions {
478
+ readonly frequencies?: readonly [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
479
+ readonly gains?: readonly [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
480
+ readonly qValues?: readonly [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number];
481
+ readonly filterTypes?: readonly ["peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass"];
482
+ readonly enabledBands?: readonly [boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean];
483
+ readonly assets?: never;
484
+ }
485
+
486
+ export declare class FifteenBandPEQ extends Effect {
487
+ static readonly effectType: "FifteenBandPEQ";
488
+ constructor(options?: FifteenBandPEQOptions);
489
+ }
490
+
491
+ export declare function createFifteenBandPEQ(options?: FifteenBandPEQOptions): FifteenBandPEQ;
492
+
493
+ export interface FiveBandDynamicEQOptions extends CommonEffectOptions {
494
+ readonly enabledBands?: readonly [boolean, boolean, boolean, boolean, boolean];
495
+ readonly filterType?: readonly ["pk" | "ls" | "hs", "pk" | "ls" | "hs", "pk" | "ls" | "hs", "pk" | "ls" | "hs", "pk" | "ls" | "hs"];
496
+ readonly frequency?: readonly [number, number, number, number, number];
497
+ readonly q?: readonly [number, number, number, number, number];
498
+ readonly maxGain?: readonly [number, number, number, number, number];
499
+ readonly threshold?: readonly [number, number, number, number, number];
500
+ readonly ratio?: readonly [number, number, number, number, number];
501
+ readonly knee?: readonly [number, number, number, number, number];
502
+ readonly attack?: readonly [number, number, number, number, number];
503
+ readonly release?: readonly [number, number, number, number, number];
504
+ readonly sidechainFrequency?: readonly [number, number, number, number, number];
505
+ readonly sidechainQ?: readonly [number, number, number, number, number];
506
+ readonly assets?: never;
507
+ }
508
+
509
+ export declare class FiveBandDynamicEQ extends Effect {
510
+ static readonly effectType: "FiveBandDynamicEQ";
511
+ constructor(options?: FiveBandDynamicEQOptions);
512
+ }
513
+
514
+ export declare function createFiveBandDynamicEQ(options?: FiveBandDynamicEQOptions): FiveBandDynamicEQ;
515
+
516
+ export interface FiveBandFIRPEQOptions extends CommonEffectOptions {
517
+ readonly latencyMode?: "0" | "128" | "256" | "512" | "1024";
518
+ readonly filterDelaySamples?: number;
519
+ readonly assets: IRReverbAssets;
520
+ }
521
+
522
+ export declare class FiveBandFIRPEQ extends Effect {
523
+ static readonly effectType: "FiveBandFIRPEQ";
524
+ constructor(options: FiveBandFIRPEQOptions);
525
+ }
526
+
527
+ export declare function createFiveBandFIRPEQ(options: FiveBandFIRPEQOptions): FiveBandFIRPEQ;
528
+
529
+ export interface FiveBandPEQOptions extends CommonEffectOptions {
530
+ readonly frequencies?: readonly [number, number, number, number, number];
531
+ readonly gains?: readonly [number, number, number, number, number];
532
+ readonly qValues?: readonly [number, number, number, number, number];
533
+ readonly filterTypes?: readonly ["peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass", "peaking" | "lowPass" | "highPass" | "lowShelf" | "highShelf" | "bandPass" | "notch" | "allPass"];
534
+ readonly enabledBands?: readonly [boolean, boolean, boolean, boolean, boolean];
535
+ readonly assets?: never;
536
+ }
537
+
538
+ export declare class FiveBandPEQ extends Effect {
539
+ static readonly effectType: "FiveBandPEQ";
540
+ constructor(options?: FiveBandPEQOptions);
541
+ }
542
+
543
+ export declare function createFiveBandPEQ(options?: FiveBandPEQOptions): FiveBandPEQ;
544
+
545
+ export interface GroupDelayEQOptions extends CommonEffectOptions {
546
+ readonly latencyMode?: "0" | "128" | "256" | "512" | "1024";
547
+ readonly filterDelaySamples?: number;
548
+ readonly assets: IRReverbAssets;
549
+ }
550
+
551
+ export declare class GroupDelayEQ extends Effect {
552
+ static readonly effectType: "GroupDelayEQ";
553
+ constructor(options: GroupDelayEQOptions);
554
+ }
555
+
556
+ export declare function createGroupDelayEQ(options: GroupDelayEQOptions): GroupDelayEQ;
557
+
558
+ export interface HiPassFilterOptions extends CommonEffectOptions {
559
+ readonly frequency?: number;
560
+ readonly slope?: 0 | -12 | -24 | -36 | -48 | -60 | -72 | -84 | -96;
561
+ readonly assets?: never;
562
+ }
563
+
564
+ export declare class HiPassFilter extends Effect {
565
+ static readonly effectType: "HiPassFilter";
566
+ constructor(options?: HiPassFilterOptions);
567
+ }
568
+
569
+ export declare function createHiPassFilter(options?: HiPassFilterOptions): HiPassFilter;
570
+
571
+ export interface LoPassFilterOptions extends CommonEffectOptions {
572
+ readonly frequency?: number;
573
+ readonly slope?: 0 | -12 | -24 | -36 | -48 | -60 | -72 | -84 | -96;
574
+ readonly assets?: never;
575
+ }
576
+
577
+ export declare class LoPassFilter extends Effect {
578
+ static readonly effectType: "LoPassFilter";
579
+ constructor(options?: LoPassFilterOptions);
580
+ }
581
+
582
+ export declare function createLoPassFilter(options?: LoPassFilterOptions): LoPassFilter;
583
+
584
+ export interface LoudnessEqualizerOptions extends CommonEffectOptions {
585
+ readonly averageSpl?: number;
586
+ readonly relativeVolume?: number;
587
+ readonly lowGain?: number;
588
+ readonly lowFrequency?: number;
589
+ readonly lowQ?: number;
590
+ readonly highQ?: number;
591
+ readonly highGain?: number;
592
+ readonly highFrequency?: number;
593
+ readonly assets?: never;
594
+ }
595
+
596
+ export declare class LoudnessEqualizer extends Effect {
597
+ static readonly effectType: "LoudnessEqualizer";
598
+ constructor(options?: LoudnessEqualizerOptions);
599
+ }
600
+
601
+ export declare function createLoudnessEqualizer(options?: LoudnessEqualizerOptions): LoudnessEqualizer;
602
+
603
+ export interface NarrowRangeOptions extends CommonEffectOptions {
604
+ readonly highPassFrequency?: number;
605
+ readonly highPassSlope?: number;
606
+ readonly lowPassFrequency?: number;
607
+ readonly lowPassSlope?: number;
608
+ readonly assets?: never;
609
+ }
610
+
611
+ export declare class NarrowRange extends Effect {
612
+ static readonly effectType: "NarrowRange";
613
+ constructor(options?: NarrowRangeOptions);
614
+ }
615
+
616
+ export declare function createNarrowRange(options?: NarrowRangeOptions): NarrowRange;
617
+
618
+ export interface RoomEQOptions extends CommonEffectOptions {
619
+ readonly latencyMode?: "0" | "128" | "256" | "512" | "1024";
620
+ readonly filterDelaySamples?: number;
621
+ readonly channelDelay?: number;
622
+ readonly outputGain?: number;
623
+ readonly assets: IRReverbAssets;
624
+ }
625
+
626
+ export declare class RoomEQ extends Effect {
627
+ static readonly effectType: "RoomEQ";
628
+ constructor(options: RoomEQOptions);
629
+ }
630
+
631
+ export declare function createRoomEQ(options: RoomEQOptions): RoomEQ;
632
+
633
+ export interface TiltEQOptions extends CommonEffectOptions {
634
+ readonly pivotFrequency?: number;
635
+ readonly slope?: number;
636
+ readonly assets?: never;
637
+ }
638
+
639
+ export declare class TiltEQ extends Effect {
640
+ static readonly effectType: "TiltEQ";
641
+ constructor(options?: TiltEQOptions);
642
+ }
643
+
644
+ export declare function createTiltEQ(options?: TiltEQOptions): TiltEQ;
645
+
646
+ export interface ToneControlOptions extends CommonEffectOptions {
647
+ readonly bass?: number;
648
+ readonly mid?: number;
649
+ readonly treble?: number;
650
+ readonly assets?: never;
651
+ }
652
+
653
+ export declare class ToneControl extends Effect {
654
+ static readonly effectType: "ToneControl";
655
+ constructor(options?: ToneControlOptions);
656
+ }
657
+
658
+ export declare function createToneControl(options?: ToneControlOptions): ToneControl;
659
+
660
+ export interface AMRadioSimulatorOptions extends CommonEffectOptions {
661
+ readonly txBandwidth?: number;
662
+ readonly preEmphasis?: number;
663
+ readonly modDepth?: number;
664
+ readonly compression?: number;
665
+ readonly stereoMode?: "Mono" | "C-QUAM";
666
+ readonly signal?: number;
667
+ readonly skywave?: number;
668
+ readonly fadingSpeed?: number;
669
+ readonly staticRate?: number;
670
+ readonly interference?: number;
671
+ readonly interferenceOffset?: number;
672
+ readonly tuning?: number;
673
+ readonly ifBandwidth?: number;
674
+ readonly agcSpeed?: "Slow" | "Mid" | "Fast";
675
+ readonly detectorRc?: number;
676
+ readonly hum?: number;
677
+ readonly humFrequency?: "50" | "60";
678
+ readonly speaker?: "Off" | "Small" | "Table";
679
+ readonly outputGain?: number;
680
+ readonly mix?: number;
681
+ readonly assets?: never;
682
+ }
683
+
684
+ export declare class AMRadioSimulator extends Effect {
685
+ static readonly effectType: "AMRadioSimulator";
686
+ constructor(options?: AMRadioSimulatorOptions);
687
+ }
688
+
689
+ export declare function createAMRadioSimulator(options?: AMRadioSimulatorOptions): AMRadioSimulator;
690
+
691
+ export interface BitCrusherOptions extends CommonEffectOptions {
692
+ readonly bitDepth?: number;
693
+ readonly tpdfDither?: boolean;
694
+ readonly zohFrequency?: number;
695
+ readonly bitError?: number;
696
+ readonly seed?: number;
697
+ readonly assets?: never;
698
+ }
699
+
700
+ export declare class BitCrusher extends Effect {
701
+ static readonly effectType: "BitCrusher";
702
+ constructor(options?: BitCrusherOptions);
703
+ }
704
+
705
+ export declare function createBitCrusher(options?: BitCrusherOptions): BitCrusher;
706
+
707
+ export interface DigitalErrorEmulatorOptions extends CommonEffectOptions {
708
+ readonly bitErrorRate?: number;
709
+ readonly mode?: "1" | "2A" | "2B" | "3A" | "3B" | "4" | "5A" | "5B" | "5C" | "6A" | "6B" | "8" | "9" | "10" | "10A";
710
+ readonly referenceSampleRate?: number;
711
+ readonly wetMix?: number;
712
+ readonly assets?: never;
713
+ }
714
+
715
+ export declare class DigitalErrorEmulator extends Effect {
716
+ static readonly effectType: "DigitalErrorEmulator";
717
+ constructor(options?: DigitalErrorEmulatorOptions);
718
+ }
719
+
720
+ export declare function createDigitalErrorEmulator(options?: DigitalErrorEmulatorOptions): DigitalErrorEmulator;
721
+
722
+ export interface DSD64IMDSimulatorOptions extends CommonEffectOptions {
723
+ readonly amount?: number;
724
+ readonly dryWet?: number;
725
+ readonly ultrasonicLevel?: number;
726
+ readonly noiseColor?: number;
727
+ readonly analogNonlinearity?: number;
728
+ readonly evenBias?: number;
729
+ readonly signalCoupling?: number;
730
+ readonly scratchTone?: number;
731
+ readonly noiseTexture?: number;
732
+ readonly crossSideband?: number;
733
+ readonly imdPathHpf?: number;
734
+ readonly outputTrim?: number;
735
+ readonly assets?: never;
736
+ }
737
+
738
+ export declare class DSD64IMDSimulator extends Effect {
739
+ static readonly effectType: "DSD64IMDSimulator";
740
+ constructor(options?: DSD64IMDSimulatorOptions);
741
+ }
742
+
743
+ export declare function createDSD64IMDSimulator(options?: DSD64IMDSimulatorOptions): DSD64IMDSimulator;
744
+
745
+ export interface FMRadioSimulatorOptions extends CommonEffectOptions {
746
+ readonly emphasis?: "50us" | "75us";
747
+ readonly processing?: number;
748
+ readonly signal?: number;
749
+ readonly tuning?: number;
750
+ readonly ifBandwidth?: number;
751
+ readonly multipath?: number;
752
+ readonly pathDelay?: number;
753
+ readonly fading?: number;
754
+ readonly stereo?: "Auto" | "Stereo" | "Mono";
755
+ readonly outputGain?: number;
756
+ readonly mix?: number;
757
+ readonly assets?: never;
758
+ }
759
+
760
+ export declare class FMRadioSimulator extends Effect {
761
+ static readonly effectType: "FMRadioSimulator";
762
+ constructor(options?: FMRadioSimulatorOptions);
763
+ }
764
+
765
+ export declare function createFMRadioSimulator(options?: FMRadioSimulatorOptions): FMRadioSimulator;
766
+
767
+ export interface HumGeneratorOptions extends CommonEffectOptions {
768
+ readonly frequency?: number;
769
+ readonly humType?: "Standard" | "Rich" | "Dirty";
770
+ readonly harmonics?: number;
771
+ readonly tone?: number;
772
+ readonly instability?: number;
773
+ readonly level?: number;
774
+ readonly assets?: never;
775
+ }
776
+
777
+ export declare class HumGenerator extends Effect {
778
+ static readonly effectType: "HumGenerator";
779
+ constructor(options?: HumGeneratorOptions);
780
+ }
781
+
782
+ export declare function createHumGenerator(options?: HumGeneratorOptions): HumGenerator;
783
+
784
+ export interface NoiseBlenderOptions extends CommonEffectOptions {
785
+ readonly noiseType?: "white" | "pink" | "brown";
786
+ readonly level?: number;
787
+ readonly perChannel?: boolean;
788
+ readonly assets?: never;
789
+ }
790
+
791
+ export declare class NoiseBlender extends Effect {
792
+ static readonly effectType: "NoiseBlender";
793
+ constructor(options?: NoiseBlenderOptions);
794
+ }
795
+
796
+ export declare function createNoiseBlender(options?: NoiseBlenderOptions): NoiseBlender;
797
+
798
+ export interface SimpleJitterOptions extends CommonEffectOptions {
799
+ readonly rmsJitterNanoseconds?: number;
800
+ readonly assets?: never;
801
+ }
802
+
803
+ export declare class SimpleJitter extends Effect {
804
+ static readonly effectType: "SimpleJitter";
805
+ constructor(options?: SimpleJitterOptions);
806
+ }
807
+
808
+ export declare function createSimpleJitter(options?: SimpleJitterOptions): SimpleJitter;
809
+
810
+ export interface SWRadioSimulatorOptions extends CommonEffectOptions {
811
+ readonly txBandwidth?: number;
812
+ readonly preEmphasis?: number;
813
+ readonly modDepth?: number;
814
+ readonly compression?: number;
815
+ readonly signal?: number;
816
+ readonly skywave?: number;
817
+ readonly fadingSpeed?: number;
818
+ readonly delaySpread?: number;
819
+ readonly staticRate?: number;
820
+ readonly interference?: number;
821
+ readonly interferenceOffset?: number;
822
+ readonly tuning?: number;
823
+ readonly ifBandwidth?: number;
824
+ readonly detector?: "Envelope" | "Synchronous";
825
+ readonly agcSpeed?: "Slow" | "Mid" | "Fast";
826
+ readonly detectorRc?: number;
827
+ readonly hum?: number;
828
+ readonly humFrequency?: "50" | "60";
829
+ readonly speaker?: "Off" | "Small" | "Table";
830
+ readonly outputGain?: number;
831
+ readonly mix?: number;
832
+ readonly assets?: never;
833
+ }
834
+
835
+ export declare class SWRadioSimulator extends Effect {
836
+ static readonly effectType: "SWRadioSimulator";
837
+ constructor(options?: SWRadioSimulatorOptions);
838
+ }
839
+
840
+ export declare function createSWRadioSimulator(options?: SWRadioSimulatorOptions): SWRadioSimulator;
841
+
842
+ export interface VinylArtifactsOptions extends CommonEffectOptions {
843
+ readonly popsPerMinute?: number;
844
+ readonly popLevel?: number;
845
+ readonly cracklesPerMinute?: number;
846
+ readonly crackleLevel?: number;
847
+ readonly hissLevel?: number;
848
+ readonly rumbleLevel?: number;
849
+ readonly crosstalk?: number;
850
+ readonly noiseProfile?: number;
851
+ readonly wear?: number;
852
+ readonly react?: number;
853
+ readonly reactMode?: "Velocity" | "Amplitude";
854
+ readonly mix?: number;
855
+ readonly assets?: never;
856
+ }
857
+
858
+ export declare class VinylArtifacts extends Effect {
859
+ static readonly effectType: "VinylArtifacts";
860
+ constructor(options?: VinylArtifactsOptions);
861
+ }
862
+
863
+ export declare function createVinylArtifacts(options?: VinylArtifactsOptions): VinylArtifacts;
864
+
865
+ export interface VinylSimulatorOptions extends CommonEffectOptions {
866
+ readonly cutLevel?: number;
867
+ readonly highFrequencyCutoff?: number;
868
+ readonly bassMonoBelow?: number;
869
+ readonly sideMix?: number;
870
+ readonly speed?: "33⅓" | "45" | "78";
871
+ readonly radius?: number;
872
+ readonly roughness?: number;
873
+ readonly dustRate?: number;
874
+ readonly staticRate?: number;
875
+ readonly scratchRate?: number;
876
+ readonly stylusShape?: "Spherical" | "Elliptical";
877
+ readonly sideRadius?: number;
878
+ readonly scanRadius?: number;
879
+ readonly trackingForce?: number;
880
+ readonly tipMass?: number;
881
+ readonly compliance?: number;
882
+ readonly damping?: number;
883
+ readonly quality?: "Eco" | "Standard" | "High" | "Ultra";
884
+ readonly outputGain?: number;
885
+ readonly mix?: number;
886
+ readonly assets?: never;
887
+ }
888
+
889
+ export declare class VinylSimulator extends Effect {
890
+ static readonly effectType: "VinylSimulator";
891
+ constructor(options?: VinylSimulatorOptions);
892
+ }
893
+
894
+ export declare function createVinylSimulator(options?: VinylSimulatorOptions): VinylSimulator;
895
+
896
+ export interface DopplerDistortionOptions extends CommonEffectOptions {
897
+ readonly coilForce?: number;
898
+ readonly speakerMass?: number;
899
+ readonly springConstant?: number;
900
+ readonly dampingFactor?: number;
901
+ readonly assets?: never;
902
+ }
903
+
904
+ export declare class DopplerDistortion extends Effect {
905
+ static readonly effectType: "DopplerDistortion";
906
+ constructor(options?: DopplerDistortionOptions);
907
+ }
908
+
909
+ export declare function createDopplerDistortion(options?: DopplerDistortionOptions): DopplerDistortion;
910
+
911
+ export interface PitchShifterOptions extends CommonEffectOptions {
912
+ readonly pitchShift?: number;
913
+ readonly fineTune?: number;
914
+ readonly windowSize?: number;
915
+ readonly crossfadeTime?: number;
916
+ readonly assets?: never;
917
+ }
918
+
919
+ export declare class PitchShifter extends Effect {
920
+ static readonly effectType: "PitchShifter";
921
+ constructor(options?: PitchShifterOptions);
922
+ }
923
+
924
+ export declare function createPitchShifter(options?: PitchShifterOptions): PitchShifter;
925
+
926
+ export interface TremoloOptions extends CommonEffectOptions {
927
+ readonly rate?: number;
928
+ readonly depth?: number;
929
+ readonly randomness?: number;
930
+ readonly randomnessCutoff?: number;
931
+ readonly randomnessSlope?: number;
932
+ readonly channelPhase?: number;
933
+ readonly channelSync?: number;
934
+ readonly assets?: never;
935
+ }
936
+
937
+ export declare class Tremolo extends Effect {
938
+ static readonly effectType: "Tremolo";
939
+ constructor(options?: TremoloOptions);
940
+ }
941
+
942
+ export declare function createTremolo(options?: TremoloOptions): Tremolo;
943
+
944
+ export interface WowFlutterOptions extends CommonEffectOptions {
945
+ readonly rate?: number;
946
+ readonly depth?: number;
947
+ readonly randomness?: number;
948
+ readonly randomnessCutoff?: number;
949
+ readonly randomnessSlope?: number;
950
+ readonly channelPhase?: number;
951
+ readonly channelSync?: number;
952
+ readonly assets?: never;
953
+ }
954
+
955
+ export declare class WowFlutter extends Effect {
956
+ static readonly effectType: "WowFlutter";
957
+ constructor(options?: WowFlutterOptions);
958
+ }
959
+
960
+ export declare function createWowFlutter(options?: WowFlutterOptions): WowFlutter;
961
+
962
+ export interface OscillatorOptions extends CommonEffectOptions {
963
+ readonly frequency?: number;
964
+ readonly volume?: number;
965
+ readonly panning?: number;
966
+ readonly waveform?: "sine" | "square" | "triangle" | "sawtooth" | "white" | "pink" | "impulse";
967
+ readonly mode?: "continuous" | "pulsed";
968
+ readonly interval?: number;
969
+ readonly width?: number;
970
+ readonly assets?: never;
971
+ }
972
+
973
+ export declare class Oscillator extends Effect {
974
+ static readonly effectType: "Oscillator";
975
+ constructor(options?: OscillatorOptions);
976
+ }
977
+
978
+ export declare function createOscillator(options?: OscillatorOptions): Oscillator;
979
+
980
+ export interface HornResonatorOptions extends CommonEffectOptions {
981
+ readonly crossover?: number;
982
+ readonly length?: number;
983
+ readonly throatDiameter?: number;
984
+ readonly mouthDiameter?: number;
985
+ readonly curve?: number;
986
+ readonly damping?: number;
987
+ readonly throatReflection?: number;
988
+ readonly waveguideGain?: number;
989
+ readonly assets?: never;
990
+ }
991
+
992
+ export declare class HornResonator extends Effect {
993
+ static readonly effectType: "HornResonator";
994
+ constructor(options?: HornResonatorOptions);
995
+ }
996
+
997
+ export declare function createHornResonator(options?: HornResonatorOptions): HornResonator;
998
+
999
+ export interface HornResonatorPlusOptions extends CommonEffectOptions {
1000
+ readonly crossover?: number;
1001
+ readonly length?: number;
1002
+ readonly throatDiameter?: number;
1003
+ readonly mouthDiameter?: number;
1004
+ readonly curve?: number;
1005
+ readonly damping?: number;
1006
+ readonly throatReflection?: number;
1007
+ readonly waveguideGain?: number;
1008
+ readonly assets?: never;
1009
+ }
1010
+
1011
+ export declare class HornResonatorPlus extends Effect {
1012
+ static readonly effectType: "HornResonatorPlus";
1013
+ constructor(options?: HornResonatorPlusOptions);
1014
+ }
1015
+
1016
+ export declare function createHornResonatorPlus(options?: HornResonatorPlusOptions): HornResonatorPlus;
1017
+
1018
+ export interface ModalResonatorOptions extends CommonEffectOptions {
1019
+ readonly resonatorEnabled?: readonly [boolean, boolean, boolean, boolean, boolean];
1020
+ readonly frequencyLog?: readonly [number, number, number, number, number];
1021
+ readonly decay?: readonly [number, number, number, number, number];
1022
+ readonly lowPassLog?: readonly [number, number, number, number, number];
1023
+ readonly highPassLog?: readonly [number, number, number, number, number];
1024
+ readonly gain?: readonly [number, number, number, number, number];
1025
+ readonly mix?: number;
1026
+ readonly assets?: never;
1027
+ }
1028
+
1029
+ export declare class ModalResonator extends Effect {
1030
+ static readonly effectType: "ModalResonator";
1031
+ constructor(options?: ModalResonatorOptions);
1032
+ }
1033
+
1034
+ export declare function createModalResonator(options?: ModalResonatorOptions): ModalResonator;
1035
+
1036
+ export interface DattorroPlateReverbOptions extends CommonEffectOptions {
1037
+ readonly preDelay?: number;
1038
+ readonly bandwidth?: number;
1039
+ readonly inputDiffusion1?: number;
1040
+ readonly inputDiffusion2?: number;
1041
+ readonly decay?: number;
1042
+ readonly decayDiffusion1?: number;
1043
+ readonly damping?: number;
1044
+ readonly modulationDepth?: number;
1045
+ readonly modulationRate?: number;
1046
+ readonly wetMix?: number;
1047
+ readonly dryMix?: number;
1048
+ readonly assets?: never;
1049
+ }
1050
+
1051
+ export declare class DattorroPlateReverb extends Effect {
1052
+ static readonly effectType: "DattorroPlateReverb";
1053
+ constructor(options?: DattorroPlateReverbOptions);
1054
+ }
1055
+
1056
+ export declare function createDattorroPlateReverb(options?: DattorroPlateReverbOptions): DattorroPlateReverb;
1057
+
1058
+ export interface FDNReverbOptions extends CommonEffectOptions {
1059
+ readonly reverbTime?: number;
1060
+ readonly density?: number;
1061
+ readonly preDelay?: number;
1062
+ readonly baseDelay?: number;
1063
+ readonly delaySpread?: number;
1064
+ readonly highFrequencyDamp?: number;
1065
+ readonly lowCut?: number;
1066
+ readonly modulationDepth?: number;
1067
+ readonly modulationRate?: number;
1068
+ readonly diffusion?: number;
1069
+ readonly wetMix?: number;
1070
+ readonly dryMix?: number;
1071
+ readonly stereoWidth?: number;
1072
+ readonly assets?: never;
1073
+ }
1074
+
1075
+ export declare class FDNReverb extends Effect {
1076
+ static readonly effectType: "FDNReverb";
1077
+ constructor(options?: FDNReverbOptions);
1078
+ }
1079
+
1080
+ export declare function createFDNReverb(options?: FDNReverbOptions): FDNReverb;
1081
+
1082
+ export interface IRReverbOptions extends CommonEffectOptions {
1083
+ readonly channelMode?: "automatic" | "mono" | "independent" | "trueStereo" | "matrix";
1084
+ readonly latency?: 0 | 128 | 256 | 512 | 1024;
1085
+ readonly convolutionRate?: "auto" | "full" | "half" | "quarter";
1086
+ readonly wetLevel?: number;
1087
+ readonly dryLevel?: number;
1088
+ readonly preDelay?: number;
1089
+ readonly assets: IRReverbAssets;
1090
+ }
1091
+
1092
+ export declare class IRReverb extends Effect {
1093
+ static readonly effectType: "IRReverb";
1094
+ constructor(options: IRReverbOptions);
1095
+ }
1096
+
1097
+ export declare function createIRReverb(options: IRReverbOptions): IRReverb;
1098
+
1099
+ export interface RSReverbOptions extends CommonEffectOptions {
1100
+ readonly preDelay?: number;
1101
+ readonly roomSize?: number;
1102
+ readonly reverbTime?: number;
1103
+ readonly density?: number;
1104
+ readonly diffusion?: number;
1105
+ readonly damping?: number;
1106
+ readonly highDamp?: number;
1107
+ readonly lowDamp?: number;
1108
+ readonly mix?: number;
1109
+ readonly assets?: never;
1110
+ }
1111
+
1112
+ export declare class RSReverb extends Effect {
1113
+ static readonly effectType: "RSReverb";
1114
+ constructor(options?: RSReverbOptions);
1115
+ }
1116
+
1117
+ export declare function createRSReverb(options?: RSReverbOptions): RSReverb;
1118
+
1119
+ export interface DynamicSaturationOptions extends CommonEffectOptions {
1120
+ readonly speakerDrive?: number;
1121
+ readonly speakerStiffness?: number;
1122
+ readonly speakerDamping?: number;
1123
+ readonly speakerMass?: number;
1124
+ readonly distortionDrive?: number;
1125
+ readonly distortionBias?: number;
1126
+ readonly distortionMix?: number;
1127
+ readonly coneMotionMix?: number;
1128
+ readonly outputGain?: number;
1129
+ readonly assets?: never;
1130
+ }
1131
+
1132
+ export declare class DynamicSaturation extends Effect {
1133
+ static readonly effectType: "DynamicSaturation";
1134
+ constructor(options?: DynamicSaturationOptions);
1135
+ }
1136
+
1137
+ export declare function createDynamicSaturation(options?: DynamicSaturationOptions): DynamicSaturation;
1138
+
1139
+ export interface ExciterOptions extends CommonEffectOptions {
1140
+ readonly highPassFrequency?: number;
1141
+ readonly highPassSlope?: 0 | 6 | 12;
1142
+ readonly drive?: number;
1143
+ readonly bias?: number;
1144
+ readonly mix?: number;
1145
+ readonly assets?: never;
1146
+ }
1147
+
1148
+ export declare class Exciter extends Effect {
1149
+ static readonly effectType: "Exciter";
1150
+ constructor(options?: ExciterOptions);
1151
+ }
1152
+
1153
+ export declare function createExciter(options?: ExciterOptions): Exciter;
1154
+
1155
+ export interface HardClippingOptions extends CommonEffectOptions {
1156
+ readonly threshold?: number;
1157
+ readonly mode?: "both" | "positive" | "negative";
1158
+ readonly assets?: never;
1159
+ }
1160
+
1161
+ export declare class HardClipping extends Effect {
1162
+ static readonly effectType: "HardClipping";
1163
+ constructor(options?: HardClippingOptions);
1164
+ }
1165
+
1166
+ export declare function createHardClipping(options?: HardClippingOptions): HardClipping;
1167
+
1168
+ export interface HarmonicDistortionOptions extends CommonEffectOptions {
1169
+ readonly secondHarmonic?: number;
1170
+ readonly thirdHarmonic?: number;
1171
+ readonly fourthHarmonic?: number;
1172
+ readonly fifthHarmonic?: number;
1173
+ readonly sensitivity?: number;
1174
+ readonly assets?: never;
1175
+ }
1176
+
1177
+ export declare class HarmonicDistortion extends Effect {
1178
+ static readonly effectType: "HarmonicDistortion";
1179
+ constructor(options?: HarmonicDistortionOptions);
1180
+ }
1181
+
1182
+ export declare function createHarmonicDistortion(options?: HarmonicDistortionOptions): HarmonicDistortion;
1183
+
1184
+ export interface MultibandSaturationOptions extends CommonEffectOptions {
1185
+ readonly frequency1?: number;
1186
+ readonly frequency2?: number;
1187
+ readonly drive?: readonly [number, number, number];
1188
+ readonly bias?: readonly [number, number, number];
1189
+ readonly mix?: readonly [number, number, number];
1190
+ readonly gain?: readonly [number, number, number];
1191
+ readonly assets?: never;
1192
+ }
1193
+
1194
+ export declare class MultibandSaturation extends Effect {
1195
+ static readonly effectType: "MultibandSaturation";
1196
+ constructor(options?: MultibandSaturationOptions);
1197
+ }
1198
+
1199
+ export declare function createMultibandSaturation(options?: MultibandSaturationOptions): MultibandSaturation;
1200
+
1201
+ export interface SaturationOptions extends CommonEffectOptions {
1202
+ readonly drive?: number;
1203
+ readonly bias?: number;
1204
+ readonly mix?: number;
1205
+ readonly gain?: number;
1206
+ readonly assets?: never;
1207
+ }
1208
+
1209
+ export declare class Saturation extends Effect {
1210
+ static readonly effectType: "Saturation";
1211
+ constructor(options?: SaturationOptions);
1212
+ }
1213
+
1214
+ export declare function createSaturation(options?: SaturationOptions): Saturation;
1215
+
1216
+ export interface SubSynthOptions extends CommonEffectOptions {
1217
+ readonly subLevel?: number;
1218
+ readonly dryLevel?: number;
1219
+ readonly subLowPassFrequency?: number;
1220
+ readonly subLowPassSlope?: number;
1221
+ readonly subHighPassFrequency?: number;
1222
+ readonly subHighPassSlope?: number;
1223
+ readonly dryHighPassFrequency?: number;
1224
+ readonly dryHighPassSlope?: number;
1225
+ readonly assets?: never;
1226
+ }
1227
+
1228
+ export declare class SubSynth extends Effect {
1229
+ static readonly effectType: "SubSynth";
1230
+ constructor(options?: SubSynthOptions);
1231
+ }
1232
+
1233
+ export declare function createSubSynth(options?: SubSynthOptions): SubSynth;
1234
+
1235
+ export interface CrossfeedFilterOptions extends CommonEffectOptions {
1236
+ readonly level?: number;
1237
+ readonly delay?: number;
1238
+ readonly lowPassFrequency?: number;
1239
+ readonly assets?: never;
1240
+ }
1241
+
1242
+ export declare class CrossfeedFilter extends Effect {
1243
+ static readonly effectType: "CrossfeedFilter";
1244
+ constructor(options?: CrossfeedFilterOptions);
1245
+ }
1246
+
1247
+ export declare function createCrossfeedFilter(options?: CrossfeedFilterOptions): CrossfeedFilter;
1248
+
1249
+ export interface MSMatrixOptions extends CommonEffectOptions {
1250
+ readonly mode?: number;
1251
+ readonly midGain?: number;
1252
+ readonly sideGain?: number;
1253
+ readonly swap?: number;
1254
+ readonly assets?: never;
1255
+ }
1256
+
1257
+ export declare class MSMatrix extends Effect {
1258
+ static readonly effectType: "MSMatrix";
1259
+ constructor(options?: MSMatrixOptions);
1260
+ }
1261
+
1262
+ export declare function createMSMatrix(options?: MSMatrixOptions): MSMatrix;
1263
+
1264
+ export interface MultibandBalanceOptions extends CommonEffectOptions {
1265
+ readonly frequency1?: number;
1266
+ readonly frequency2?: number;
1267
+ readonly frequency3?: number;
1268
+ readonly frequency4?: number;
1269
+ readonly balance?: readonly [number, number, number, number, number];
1270
+ readonly assets?: never;
1271
+ }
1272
+
1273
+ export declare class MultibandBalance extends Effect {
1274
+ static readonly effectType: "MultibandBalance";
1275
+ constructor(options?: MultibandBalanceOptions);
1276
+ }
1277
+
1278
+ export declare function createMultibandBalance(options?: MultibandBalanceOptions): MultibandBalance;
1279
+
1280
+ export interface StereoBlendOptions extends CommonEffectOptions {
1281
+ readonly stereo?: number;
1282
+ readonly assets?: never;
1283
+ }
1284
+
1285
+ export declare class StereoBlend extends Effect {
1286
+ static readonly effectType: "StereoBlend";
1287
+ constructor(options?: StereoBlendOptions);
1288
+ }
1289
+
1290
+ export declare function createStereoBlend(options?: StereoBlendOptions): StereoBlend;
1291
+
1292
+ export interface EffectOptionsByType {
1293
+ readonly LevelMeter: LevelMeterOptions;
1294
+ readonly Oscilloscope: OscilloscopeOptions;
1295
+ readonly Spectrogram: SpectrogramOptions;
1296
+ readonly SpectrumAnalyzer: SpectrumAnalyzerOptions;
1297
+ readonly StereoMeter: StereoMeterOptions;
1298
+ readonly ChannelDivider: ChannelDividerOptions;
1299
+ readonly DCOffset: DCOffsetOptions;
1300
+ readonly FIRCrossover: FIRCrossoverOptions;
1301
+ readonly Matrix: MatrixOptions;
1302
+ readonly MultiChannelPanel: MultiChannelPanelOptions;
1303
+ readonly Mute: MuteOptions;
1304
+ readonly PolarityInversion: PolarityInversionOptions;
1305
+ readonly StereoBalance: StereoBalanceOptions;
1306
+ readonly Volume: VolumeOptions;
1307
+ readonly Delay: DelayOptions;
1308
+ readonly TimeAlignment: TimeAlignmentOptions;
1309
+ readonly AutoLeveler: AutoLevelerOptions;
1310
+ readonly BrickwallLimiter: BrickwallLimiterOptions;
1311
+ readonly Compressor: CompressorOptions;
1312
+ readonly Expander: ExpanderOptions;
1313
+ readonly Gate: GateOptions;
1314
+ readonly MultibandCompressor: MultibandCompressorOptions;
1315
+ readonly MultibandExpander: MultibandExpanderOptions;
1316
+ readonly MultibandTransient: MultibandTransientOptions;
1317
+ readonly PowerAmpSag: PowerAmpSagOptions;
1318
+ readonly TransientShaper: TransientShaperOptions;
1319
+ readonly BandPassFilter: BandPassFilterOptions;
1320
+ readonly CombFilter: CombFilterOptions;
1321
+ readonly EarphoneCableSim: EarphoneCableSimOptions;
1322
+ readonly FifteenBandGEQ: FifteenBandGEQOptions;
1323
+ readonly FifteenBandPEQ: FifteenBandPEQOptions;
1324
+ readonly FiveBandDynamicEQ: FiveBandDynamicEQOptions;
1325
+ readonly FiveBandFIRPEQ: FiveBandFIRPEQOptions;
1326
+ readonly FiveBandPEQ: FiveBandPEQOptions;
1327
+ readonly GroupDelayEQ: GroupDelayEQOptions;
1328
+ readonly HiPassFilter: HiPassFilterOptions;
1329
+ readonly LoPassFilter: LoPassFilterOptions;
1330
+ readonly LoudnessEqualizer: LoudnessEqualizerOptions;
1331
+ readonly NarrowRange: NarrowRangeOptions;
1332
+ readonly RoomEQ: RoomEQOptions;
1333
+ readonly TiltEQ: TiltEQOptions;
1334
+ readonly ToneControl: ToneControlOptions;
1335
+ readonly AMRadioSimulator: AMRadioSimulatorOptions;
1336
+ readonly BitCrusher: BitCrusherOptions;
1337
+ readonly DigitalErrorEmulator: DigitalErrorEmulatorOptions;
1338
+ readonly DSD64IMDSimulator: DSD64IMDSimulatorOptions;
1339
+ readonly FMRadioSimulator: FMRadioSimulatorOptions;
1340
+ readonly HumGenerator: HumGeneratorOptions;
1341
+ readonly NoiseBlender: NoiseBlenderOptions;
1342
+ readonly SimpleJitter: SimpleJitterOptions;
1343
+ readonly SWRadioSimulator: SWRadioSimulatorOptions;
1344
+ readonly VinylArtifacts: VinylArtifactsOptions;
1345
+ readonly VinylSimulator: VinylSimulatorOptions;
1346
+ readonly DopplerDistortion: DopplerDistortionOptions;
1347
+ readonly PitchShifter: PitchShifterOptions;
1348
+ readonly Tremolo: TremoloOptions;
1349
+ readonly WowFlutter: WowFlutterOptions;
1350
+ readonly Oscillator: OscillatorOptions;
1351
+ readonly HornResonator: HornResonatorOptions;
1352
+ readonly HornResonatorPlus: HornResonatorPlusOptions;
1353
+ readonly ModalResonator: ModalResonatorOptions;
1354
+ readonly DattorroPlateReverb: DattorroPlateReverbOptions;
1355
+ readonly FDNReverb: FDNReverbOptions;
1356
+ readonly IRReverb: IRReverbOptions;
1357
+ readonly RSReverb: RSReverbOptions;
1358
+ readonly DynamicSaturation: DynamicSaturationOptions;
1359
+ readonly Exciter: ExciterOptions;
1360
+ readonly HardClipping: HardClippingOptions;
1361
+ readonly HarmonicDistortion: HarmonicDistortionOptions;
1362
+ readonly MultibandSaturation: MultibandSaturationOptions;
1363
+ readonly Saturation: SaturationOptions;
1364
+ readonly SubSynth: SubSynthOptions;
1365
+ readonly CrossfeedFilter: CrossfeedFilterOptions;
1366
+ readonly MSMatrix: MSMatrixOptions;
1367
+ readonly MultibandBalance: MultibandBalanceOptions;
1368
+ readonly StereoBlend: StereoBlendOptions;
1369
+ }
1370
+
1371
+ export interface EffectClassByType {
1372
+ readonly LevelMeter: LevelMeter;
1373
+ readonly Oscilloscope: Oscilloscope;
1374
+ readonly Spectrogram: Spectrogram;
1375
+ readonly SpectrumAnalyzer: SpectrumAnalyzer;
1376
+ readonly StereoMeter: StereoMeter;
1377
+ readonly ChannelDivider: ChannelDivider;
1378
+ readonly DCOffset: DCOffset;
1379
+ readonly FIRCrossover: FIRCrossover;
1380
+ readonly Matrix: Matrix;
1381
+ readonly MultiChannelPanel: MultiChannelPanel;
1382
+ readonly Mute: Mute;
1383
+ readonly PolarityInversion: PolarityInversion;
1384
+ readonly StereoBalance: StereoBalance;
1385
+ readonly Volume: Volume;
1386
+ readonly Delay: Delay;
1387
+ readonly TimeAlignment: TimeAlignment;
1388
+ readonly AutoLeveler: AutoLeveler;
1389
+ readonly BrickwallLimiter: BrickwallLimiter;
1390
+ readonly Compressor: Compressor;
1391
+ readonly Expander: Expander;
1392
+ readonly Gate: Gate;
1393
+ readonly MultibandCompressor: MultibandCompressor;
1394
+ readonly MultibandExpander: MultibandExpander;
1395
+ readonly MultibandTransient: MultibandTransient;
1396
+ readonly PowerAmpSag: PowerAmpSag;
1397
+ readonly TransientShaper: TransientShaper;
1398
+ readonly BandPassFilter: BandPassFilter;
1399
+ readonly CombFilter: CombFilter;
1400
+ readonly EarphoneCableSim: EarphoneCableSim;
1401
+ readonly FifteenBandGEQ: FifteenBandGEQ;
1402
+ readonly FifteenBandPEQ: FifteenBandPEQ;
1403
+ readonly FiveBandDynamicEQ: FiveBandDynamicEQ;
1404
+ readonly FiveBandFIRPEQ: FiveBandFIRPEQ;
1405
+ readonly FiveBandPEQ: FiveBandPEQ;
1406
+ readonly GroupDelayEQ: GroupDelayEQ;
1407
+ readonly HiPassFilter: HiPassFilter;
1408
+ readonly LoPassFilter: LoPassFilter;
1409
+ readonly LoudnessEqualizer: LoudnessEqualizer;
1410
+ readonly NarrowRange: NarrowRange;
1411
+ readonly RoomEQ: RoomEQ;
1412
+ readonly TiltEQ: TiltEQ;
1413
+ readonly ToneControl: ToneControl;
1414
+ readonly AMRadioSimulator: AMRadioSimulator;
1415
+ readonly BitCrusher: BitCrusher;
1416
+ readonly DigitalErrorEmulator: DigitalErrorEmulator;
1417
+ readonly DSD64IMDSimulator: DSD64IMDSimulator;
1418
+ readonly FMRadioSimulator: FMRadioSimulator;
1419
+ readonly HumGenerator: HumGenerator;
1420
+ readonly NoiseBlender: NoiseBlender;
1421
+ readonly SimpleJitter: SimpleJitter;
1422
+ readonly SWRadioSimulator: SWRadioSimulator;
1423
+ readonly VinylArtifacts: VinylArtifacts;
1424
+ readonly VinylSimulator: VinylSimulator;
1425
+ readonly DopplerDistortion: DopplerDistortion;
1426
+ readonly PitchShifter: PitchShifter;
1427
+ readonly Tremolo: Tremolo;
1428
+ readonly WowFlutter: WowFlutter;
1429
+ readonly Oscillator: Oscillator;
1430
+ readonly HornResonator: HornResonator;
1431
+ readonly HornResonatorPlus: HornResonatorPlus;
1432
+ readonly ModalResonator: ModalResonator;
1433
+ readonly DattorroPlateReverb: DattorroPlateReverb;
1434
+ readonly FDNReverb: FDNReverb;
1435
+ readonly IRReverb: IRReverb;
1436
+ readonly RSReverb: RSReverb;
1437
+ readonly DynamicSaturation: DynamicSaturation;
1438
+ readonly Exciter: Exciter;
1439
+ readonly HardClipping: HardClipping;
1440
+ readonly HarmonicDistortion: HarmonicDistortion;
1441
+ readonly MultibandSaturation: MultibandSaturation;
1442
+ readonly Saturation: Saturation;
1443
+ readonly SubSynth: SubSynth;
1444
+ readonly CrossfeedFilter: CrossfeedFilter;
1445
+ readonly MSMatrix: MSMatrix;
1446
+ readonly MultibandBalance: MultibandBalance;
1447
+ readonly StereoBlend: StereoBlend;
1448
+ }
1449
+
1450
+ export declare const EFFECT_TYPES: readonly EffectType[];
1451
+ export declare const EFFECT_METADATA: Readonly<Record<string, unknown>>;
1452
+ /** @internal Package-internal runtime mapping; not re-exported publicly. */
1453
+ export declare const _EFFECT_IMPLEMENTATION: Readonly<Record<EffectType, unknown>>;
1454
+ export declare const EFFECT_CLASSES: ReadonlyMap<EffectType, typeof Effect>;
1455
+ export declare function createEffect<T extends EffectType>(
1456
+ type: T,
1457
+ ...options: T extends RequiredAssetEffectType
1458
+ ? [options: EffectOptionsByType[T]]
1459
+ : [options?: EffectOptionsByType[T]]
1460
+ ): EffectClassByType[T];