UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

29 lines (28 loc) 1.15 kB
/** * applies a Chorus * * */ import { TypedAudioNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { AudioBuilder } from '../../../core/audio/AudioBuilder'; declare class ChorusAudioParamsConfig extends NodeParamsConfig { /** @param The frequency of the LFO. */ frequency: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** The delay of the chorus effect in ms */ delayTime: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** The depth of the chorus */ depth: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class ChorusAudioNode extends TypedAudioNode<ChorusAudioParamsConfig> { paramsConfig: ChorusAudioParamsConfig; static type(): string; initializeNode(): void; cook(inputContents: AudioBuilder[]): void; private __effect__; private _effect; private _createEffect; static PARAM_CALLBACK_updateEffect(node: ChorusAudioNode): void; private _updateEffect; } export {};