import { Param } from "../../core/context/Param"; import { InputNode, OutputNode, ToneAudioNode, ToneAudioNodeOptions } from "../../core/context/ToneAudioNode"; import { AudioRange, Decibels } from "../../core/type/Units"; export interface PanVolOptions extends ToneAudioNodeOptions { pan: AudioRange; volume: Decibels; mute: boolean; } /** * PanVol is a Tone.Panner and Tone.Volume in one. * @example * //pan the incoming signal left and drop the volume * var panVol = new PanVol(-0.25, -12); * @category Component */ export declare class PanVol extends ToneAudioNode { readonly name: string; readonly input: InputNode; readonly output: OutputNode; /** * The panning node */ private _panner; /** * The L/R panning control. */ readonly pan: Param; /** * The volume node */ private _volume; /** * The volume control in decibels. */ readonly volume: Param; /** * @param pan the initial pan * @param volume The output volume. */ constructor(pan?: AudioRange, volume?: Decibels); constructor(options?: Partial); static getDefaults(): PanVolOptions; /** * Mute/unmute the volume */ mute: boolean; dispose(): this; }