AudioGraphBuilder.ebuR128Chain() method
An EBU R128 compliance chain (−23 LUFS programme, ≤ −1 dBTP): an agc steering short-term loudness to −23, an optional compressor for range control, and a brick-wall true-peak limiter with its ceiling at the standard’s −1 dBTP. A loudness tap on the chain’s output (named name, default "ebuR128") is returned alongside the output node: pin it into your output’s qualityMetrics (measurements: [chain.loudness]) and/or read it via AudioGraphSettings.onMeasurement for compliance metering; the agc’s own gain readings arrive as tap "<name>.agc".
Signature:
ebuR128Chain(input: AudioNode, opts?: {
name?: string;
compressor?: {
thresholdDb?: number;
ratio?: number;
kneeDb?: number;
attackMs?: number;
releaseMs?: number;
};
}): {
node: AudioNode;
loudness: AudioNode;
};