assassin-bug/framework/resonator/effect-chain.d.ts

15 lines
523 B
TypeScript
Raw Permalink Normal View History

2022-11-26 01:22:02 +00:00
import ResonatorAudioContext from './audio-context';
import AudioGraph from './audio-graph';
import BaseEffect from './effects/base-effect';
export default class EffectChain {
private context;
private graph;
private effects;
private inputNode;
private outputNode;
constructor(context: ResonatorAudioContext, graph: AudioGraph, input: AudioNode, output: AudioNode);
applyEffect(effect: BaseEffect): void;
removeEffect(effect: BaseEffect): void;
private updateConnections;
}