AudioGraphNode class

Signature:

export declare class AudioGraphNode<Pins extends string = "audio"> extends AutoProcessorMediaNode<Pins>

Extends: AutoProcessorMediaNode<Pins>

Methods

Method Modifiers Description

getGraph()

The graph’s shape + last-applied runtime params, as the server holds them — the discovery surface for a UI that didn’t build the graph itself (a reconnecting or second client). config.nodes are the wire ops in index order (sources occupy indices 0..N−1), appliedParams the most recent setParams per node.

setParams(node, update)

Apply a runtime parameter update to a node in the graph, addressed by the handle returned when it was built (hoist it out of the build closure to keep a reference). An optional PartTransition ramps the change so it is click-free. Only parameters the target op supports take effect (a gain node reads db).