1 | import { Time } from "../../core/type/Units.js";
|
2 | import { InputNode, OutputNode, ToneAudioNode, ToneAudioNodeOptions } from "../../core/context/ToneAudioNode.js";
|
3 | export interface FollowerOptions extends ToneAudioNodeOptions {
|
4 | smoothing: Time;
|
5 | }
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare class Follower extends ToneAudioNode<FollowerOptions> {
|
17 | readonly name: string;
|
18 | readonly input: InputNode;
|
19 | readonly output: OutputNode;
|
20 | |
21 |
|
22 |
|
23 | private _smoothing;
|
24 | |
25 |
|
26 |
|
27 | private _lowpass;
|
28 | |
29 |
|
30 |
|
31 | private _abs;
|
32 | |
33 |
|
34 |
|
35 | constructor(smoothing?: Time);
|
36 | constructor(options?: Partial<FollowerOptions>);
|
37 | static getDefaults(): FollowerOptions;
|
38 | /**
|
39 | * The amount of time it takes a value change to arrive at the updated value.
|
40 | */
|
41 | get smoothing(): Time;
|
42 | set smoothing(smoothing: Time);
|
43 | dispose(): this;
|
44 | }
|