UNPKG

703 BTypeScriptView Raw
1import { ToneAudioNodeOptions } from "../core/context/ToneAudioNode.js";
2import { SignalOperator } from "./SignalOperator.js";
3import { WaveShaper } from "./WaveShaper.js";
4/**
5 * GainToAudio converts an input in NormalRange [0,1] to AudioRange [-1,1].
6 * @see {@link AudioToGain}.
7 * @category Signal
8 */
9export declare class GainToAudio extends SignalOperator<ToneAudioNodeOptions> {
10 readonly name: string;
11 /**
12 * The node which converts the audio ranges
13 */
14 private _norm;
15 /**
16 * The NormalRange input [0, 1]
17 */
18 input: WaveShaper;
19 /**
20 * The AudioRange output [-1, 1]
21 */
22 output: WaveShaper;
23 /**
24 * clean up
25 */
26 dispose(): this;
27}