1 | import { ToneAudioWorkletOptions } from "../core/worklet/ToneAudioWorklet.js";
|
2 | import { Effect, EffectOptions } from "./Effect.js";
|
3 | import { Positive } from "../core/type/Units.js";
|
4 | import { Param } from "../core/context/Param.js";
|
5 | export interface BitCrusherOptions extends EffectOptions {
|
6 | bits: Positive;
|
7 | }
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare class BitCrusher extends Effect<BitCrusherOptions> {
|
21 | readonly name: string;
|
22 | |
23 |
|
24 |
|
25 |
|
26 |
|
27 | readonly bits: Param<"positive">;
|
28 | |
29 |
|
30 |
|
31 | private _bitCrusherWorklet;
|
32 | constructor(bits?: Positive);
|
33 | constructor(options?: Partial<BitCrusherWorkletOptions>);
|
34 | static getDefaults(): BitCrusherOptions;
|
35 | dispose(): this;
|
36 | }
|
37 | interface BitCrusherWorkletOptions extends ToneAudioWorkletOptions {
|
38 | bits: number;
|
39 | }
|
40 | export {};
|