1 | import { Param } from "../../core/context/Param.js";
|
2 | import { InputNode, OutputNode, ToneAudioNode, ToneAudioNodeOptions } from "../../core/context/ToneAudioNode.js";
|
3 | import { Frequency, NormalRange, Time } from "../../core/type/Units.js";
|
4 | import { RecursivePartial } from "../../core/util/Interface.js";
|
5 | interface LowpassCombFilterOptions extends ToneAudioNodeOptions {
|
6 | delayTime: Time;
|
7 | resonance: NormalRange;
|
8 | dampening: Frequency;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare class LowpassCombFilter extends ToneAudioNode<LowpassCombFilterOptions> {
|
16 | readonly name = "LowpassCombFilter";
|
17 | |
18 |
|
19 |
|
20 | private _combFilter;
|
21 | |
22 |
|
23 |
|
24 | private _lowpass;
|
25 | |
26 |
|
27 |
|
28 | readonly delayTime: Param<"time">;
|
29 | |
30 |
|
31 |
|
32 | readonly resonance: Param<"normalRange">;
|
33 | readonly input: InputNode;
|
34 | readonly output: OutputNode;
|
35 | |
36 |
|
37 |
|
38 |
|
39 |
|
40 | constructor(delayTime?: Time, resonance?: NormalRange, dampening?: Frequency);
|
41 | constructor(options?: RecursivePartial<LowpassCombFilterOptions>);
|
42 | static getDefaults(): LowpassCombFilterOptions;
|
43 | /**
|
44 | * The dampening control of the feedback
|
45 | */
|
46 | get dampening(): Frequency;
|
47 | set dampening(fq: Frequency);
|
48 | dispose(): this;
|
49 | }
|
50 | export {};
|