FFmpeg volume.
The node type.
−60–0 dB (live).
One peaking equalizer band (FFmpeg equalizer).
The node type.
Centre frequency 20–20000 Hz.
Always 1.
−6–6 dB (live).
Treble shelf (FFmpeg treble).
The node type.
Always 3000 Hz.
Always 0.5.
0–6 dB (live).
Dynamic loudness normalization (FFmpeg dynaudnorm); every field is live.
The node type.
On or off.
Maximum gain 1–4.
Target peak 0.5–0.95.
Routing on a stereo mix (more channels are mixed down first).
The node type.
stereo leaves it unchanged.
Speech around 1 kHz is 3 dB louder and both speakers play the same mixed
channel. set sends this plugin's whole audio chain (the nodes in order,
plus an optional delayMs); the player joins it with other plugins'
chains and applies it to every source.
plugin.audio.filter("sound").set({
nodes: [
{ kind: "equalizer", frequency: 1000, q: 1, gainDb: 3 }, // +3 dB at 1 kHz
{ kind: "channels", mode: "mono" }, // both channels get (L + R) / 2
],
});
One node of an AudioFilter chain, by
kind. Values outside the ranges fail withinvalid; "live" fields change in place while playing.