AudioGraphBuilder.mix() method
Mix N inputs into one stream. The output’s layout and rate are the FIRST input’s (other inputs are resampled to its rate; a layout mismatch is a build error — align layouts first with matrixMix / channel ops). weights are linear, one per input; omitted = unity for every input. Weights are runtime-tunable (setParams with weights, ramped).
Signature:
mix(inputs: AudioNode[], opts?: {
weights?: number[];
}): AudioNode;