1 | import { InputNode, ToneAudioNode, ToneAudioNodeOptions } from "../../core/context/ToneAudioNode.js";
|
2 | import { Compressor, CompressorOptions } from "./Compressor.js";
|
3 | import { RecursivePartial } from "../../core/util/Interface.js";
|
4 | import { Frequency } from "../../core/type/Units.js";
|
5 | import { Signal } from "../../signal/Signal.js";
|
6 | export interface MultibandCompressorOptions extends ToneAudioNodeOptions {
|
7 | mid: Omit<CompressorOptions, keyof ToneAudioNodeOptions>;
|
8 | low: Omit<CompressorOptions, keyof ToneAudioNodeOptions>;
|
9 | high: Omit<CompressorOptions, keyof ToneAudioNodeOptions>;
|
10 | lowFrequency: Frequency;
|
11 | highFrequency: Frequency;
|
12 | }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | export declare class MultibandCompressor extends ToneAudioNode<MultibandCompressorOptions> {
|
28 | readonly name: string;
|
29 | readonly input: InputNode;
|
30 | readonly output: ToneAudioNode;
|
31 | |
32 |
|
33 |
|
34 | private _splitter;
|
35 | |
36 |
|
37 |
|
38 | readonly lowFrequency: Signal<"frequency">;
|
39 | |
40 |
|
41 |
|
42 | readonly highFrequency: Signal<"frequency">;
|
43 | |
44 |
|
45 |
|
46 | readonly low: Compressor;
|
47 | |
48 |
|
49 |
|
50 | readonly mid: Compressor;
|
51 | |
52 |
|
53 |
|
54 | readonly high: Compressor;
|
55 | constructor(options?: RecursivePartial<MultibandCompressorOptions>);
|
56 | static getDefaults(): MultibandCompressorOptions;
|
57 | dispose(): this;
|
58 | }
|