1 | import { EffectOptions } from "./Effect.js";
|
2 | import { OutputNode, ToneAudioNode } from "../core/context/ToneAudioNode.js";
|
3 | import { CrossFade } from "../component/channel/CrossFade.js";
|
4 | import { Signal } from "../signal/Signal.js";
|
5 | import { Split } from "../component/channel/Split.js";
|
6 | import { Gain } from "../core/context/Gain.js";
|
7 | import { Merge } from "../component/channel/Merge.js";
|
8 | export type StereoEffectOptions = EffectOptions;
|
9 |
|
10 |
|
11 |
|
12 | export declare class StereoEffect<Options extends StereoEffectOptions> extends ToneAudioNode<Options> {
|
13 | readonly name: string;
|
14 | readonly input: Gain;
|
15 | readonly output: CrossFade;
|
16 | |
17 |
|
18 |
|
19 | private _dryWet;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | readonly wet: Signal<"normalRange">;
|
25 | |
26 |
|
27 |
|
28 | protected _split: Split;
|
29 | |
30 |
|
31 |
|
32 | protected _merge: Merge;
|
33 | constructor(options: StereoEffectOptions);
|
34 | /**
|
35 | * Connect the left part of the effect
|
36 | */
|
37 | protected connectEffectLeft(...nodes: OutputNode[]): void;
|
38 | /**
|
39 | * Connect the right part of the effect
|
40 | */
|
41 | protected connectEffectRight(...nodes: OutputNode[]): void;
|
42 | static getDefaults(): StereoEffectOptions;
|
43 | dispose(): this;
|
44 | }
|