@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
29 lines (28 loc) • 1.33 kB
TypeScript
/**
* PingPongDelay is a feedback delay effect where the echo is heard
* first in one channel and next in the opposite channel. In a stereo
* system these are the right and left channels.
* PingPongDelay in more simplified terms is two Tone.FeedbackDelays
* with independent delay values. Each delay is routed to one channel
* (left or right), and the channel triggered second will always
* trigger at the same interval after the first.
*
* See description on [Tone.js](https://tonejs.github.io/)
*/
import { TypedAudioNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { AudioBuilder } from '../../../core/audio/AudioBuilder';
declare class PingPongDelayAudioParamsConfig extends NodeParamsConfig {
/** @param delayTime */
delayTime: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
/** @param maxDelay */
maxDelay: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
}
export declare class PingPongDelayAudioNode extends TypedAudioNode<PingPongDelayAudioParamsConfig> {
paramsConfig: PingPongDelayAudioParamsConfig;
static type(): string;
initializeNode(): void;
cook(inputContents: AudioBuilder[]): void;
private _createEffect;
}
export {};