UNPKG

@polygonjs/polygonjs

Version:

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

30 lines (29 loc) 1.15 kB
/** * Chebyshev is a waveshaper which is good * for making different types of distortion sounds. * Note that odd orders sound very different from even ones, * and order = 1 is no change. * * */ import { TypedAudioNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { AudioBuilder } from '../../../core/audio/AudioBuilder'; declare class ChebyshevAudioParamsConfig extends NodeParamsConfig { /** @param order */ order: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; /** @param oversample */ oversample: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; } export declare class ChebyshevAudioNode extends TypedAudioNode<ChebyshevAudioParamsConfig> { paramsConfig: ChebyshevAudioParamsConfig; static type(): string; initializeNode(): void; cook(inputContents: AudioBuilder[]): void; private __effect__; private _effect; private _createEffect; static PARAM_CALLBACK_updateEffect(node: ChebyshevAudioNode): void; private _updateEffect; } export {};