π Compose Volume
One slider to turn your video's audio up or down inside the chain
- audio_ops
- audio_ops
MF_ComposeVolume is the simplest node in MediaForge's audio chain and the one you'll reach for constantly: it applies a volume filter to the audio during the Compose encode. One slider, scale, from 0.0 (mute) to 2.0 (double). Dim the source before mixing in BGM, boost a quiet recording, or silence a track entirely without muting a whole chain.
It earns its place because the Compose audio chain is built from single-op nodes on purpose. Chain order is filter order, so where this node sits changes what it affects. Volume β AudioMix lowers the source before the BGM is mixed in - the standard "duck the talking, keep the music" move. AudioMix β Volume scales the mixed result. Same node, two completely different mixes, and that's a feature: one op, one node, you wire the order.
How it works
It appends a volume=N op to the MF_COMPOSE_AUDIO_OPS chain. Nothing runs at this node - the filter executes when MF_ComposeVideo compiles and encodes the whole graph. That's why it's cheap to add as many of these as you want: every op in the chain still ships in the single encode.
The inputs that matter
scale- the only required widget.1.0= passthrough,0.5= half volume,0.0= mute,2.0= double (watch for clipping above ~1.0 on hot sources).
Optional audio_ops chains the previous audio node; output audio_ops feeds the next audio op or MF_ComposeVideo.
Install
Part of MediaForge - the pack install covers it:
cd ComfyUI/custom_nodes
git clone https://github.com/leon80148/comfyui_MediaForge.git
# restart ComfyUI
Or ComfyUI Manager β "MediaForge".
Common issues
Two habits to avoid. First, remember where in the chain you placed it - if you set scale=0.0 on a node upstream of an audio mix, you've muted the source and everything downstream of it is working with silence. Second, clipping: boosting past 1.0 on audio that's already near full scale distorts, and the MF_ComposeNormalize node (targeting -14 LUFS for streaming) is the better tool if your problem is "too quiet on the platform," not "too quiet in my editor." If you mute something and it's still audible, you've probably got a second Volume or a keep_source mix downstream re-introducing audio.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| scale | FLOAT | 1.000β2 | β |
| audio_opsopt | MF_COMPOSE_AUDIO_OPS | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| audio_ops | MF_COMPOSE_AUDIO_OPS | β |