Interface CacophonyEffect

Public surface every Cacophony effect implements. build is called by Bus.addFilter to materialize the effect's live node graph against a specific audio context. An effect may be built more than once (e.g. on multiple buses or contexts), or it may bind to a single shared node — the implementation is free to choose. Cacophony itself does not cache.

interface CacophonyEffect {
    build(context): AudioNode | Promise<AudioNode>;
}

Implemented by

Methods

Methods