1 | import { Gain } from "../../core/context/Gain.js";
|
2 | import { OutputNode, ToneAudioNode, ToneAudioNodeOptions } from "../../core/context/ToneAudioNode.js";
|
3 | export type MonoOptions = ToneAudioNodeOptions;
|
4 | /**
|
5 | * Mono coerces the incoming mono or stereo signal into a mono signal
|
6 | * where both left and right channels have the same value. This can be useful
|
7 | * for [stereo imaging](https://en.wikipedia.org/wiki/Stereo_imaging).
|
8 | * @category Component
|
9 | */
|
10 | export declare class Mono extends ToneAudioNode<MonoOptions> {
|
11 | readonly name: string;
|
12 | /**
|
13 | * merge the signal
|
14 | */
|
15 | private _merge;
|
16 | /**
|
17 | * The summed output of the multiple inputs
|
18 | */
|
19 | readonly output: OutputNode;
|
20 | /**
|
21 | * The stereo signal to sum to mono
|
22 | */
|
23 | readonly input: Gain;
|
24 | constructor(options?: Partial<MonoOptions>);
|
25 | dispose(): this;
|
26 | }
|