1 | import { Gain } from "../../core/context/Gain.js";
|
2 | import { Param } from "../../core/context/Param.js";
|
3 | import { ToneAudioNodeOptions } from "../../core/context/ToneAudioNode.js";
|
4 | import { NormalRange, Time } from "../../core/type/Units.js";
|
5 | import { RecursivePartial } from "../../core/util/Interface.js";
|
6 | import { ToneAudioWorklet } from "../../core/worklet/ToneAudioWorklet.js";
|
7 | export interface FeedbackCombFilterOptions extends ToneAudioNodeOptions {
|
8 | delayTime: Time;
|
9 | resonance: NormalRange;
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare class FeedbackCombFilter extends ToneAudioWorklet<FeedbackCombFilterOptions> {
|
21 | readonly name = "FeedbackCombFilter";
|
22 | |
23 |
|
24 |
|
25 | readonly delayTime: Param<"time">;
|
26 | |
27 |
|
28 |
|
29 | readonly resonance: Param<"normalRange">;
|
30 | readonly input: Gain;
|
31 | readonly output: Gain;
|
32 | |
33 |
|
34 |
|
35 |
|
36 | constructor(delayTime?: Time, resonance?: NormalRange);
|
37 | constructor(options?: RecursivePartial<FeedbackCombFilterOptions>);
|
38 | protected _audioWorkletName(): string;
|
39 | /**
|
40 | * The default parameters
|
41 | */
|
42 | static getDefaults(): FeedbackCombFilterOptions;
|
43 | onReady(node: AudioWorkletNode): void;
|
44 | dispose(): this;
|
45 | }
|