π FRED Multi Linear Slider
One master slider that drives five parameters at once
- value1_float
- value1_int
- value2_float
- value2_int
- value3_float
- value3_int
- value4_float
- value4_int
- value5_float
- value5_int
Sometimes you want one knob to turn five things at once. FRED_Multi_Linear_Slider maps a single master 0β100 slider onto five output values, each with its own min/max boundaries. Drag the master and all five values move together, each interpolated within its own range. It's the "master intensity" control you've probably wanted a dozen times and never had a clean way to build.
How it works
The master_slider (0β100, default 50) is the driver. For each of the five channels you define a range with Boundary_N_MIN and Boundary_N_MAX - the output when the master is at 0 and at 100 respectively. At master 50, every channel sits halfway between its own min and max. The mapping is linear per channel, so the math is trivial: min + (max - min) * master / 100.
Each channel emits two outputs:
value1_floatβ¦value5_float- the exact interpolated FLOAT.value1_intβ¦value5_int- the same value rounded to an INT, for parameters that need whole numbers (steps, width, height, a count).
So with boundaries set to denoise 0.2β0.8, steps 12β40, CFG 1β8, seed-range... you get one slider that does a coherent "intensity" sweep across several sampling parameters in lockstep.
Where you'd actually use it
- Batch style/strength comparisons. Set up a graph where the master slider controls denoise, CFG, and a LoRA weight together, then sweep it across runs to see the combined effect. One parameter to vary beats juggling three.
- A "vibe" control in a shared workflow. Non-technical users don't want to touch five samplers - give them one slider labeled "how far do you want to push it" that internally drives several values.
- Coherent resizing. Map width and height boundaries to the same master and you get a single "resolution" slider that scales both, with the INT outputs feeding a resize node.
The boundary inputs are FLOATs ranging Β±999999, which covers absurd cases but realistically you'll use small ranges. Outputs are linear-only - no curves, no per-channel easing. If you need a nonlinear response (e.g., CFG that barely moves until 80% master), this isn't that.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/Poukpalaova/ComfyUI-FRED-Nodes_v2.git
Restart, or "ComfyUI FRED Nodes v2" in ComfyUI Manager. Pure math, no extra dependencies.
Gotchas
Nothing clever hides here, which is the charm. The one thing to keep straight: boundaries are per-channel absolute min/max, not "this channel responds more" - if you want one parameter to respond more slowly, you'd chain two of these or accept the linear behavior. And because master 50 maps to the midpoint of each range, a default master of 50 is not "off" - it's the middle. Set boundaries to your "off" values at that point, or start with the master at 0.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| master_slider | FLOAT | 50.00β100 | Master slider (0β100). |
| Boundary_1_MIN | FLOAT | 0.0-999999β999999 | β |
| Boundary_1_MAX | FLOAT | 1.0-999999β999999 | β |
| Boundary_2_MIN | FLOAT | 0.0-999999β999999 | β |
| Boundary_2_MAX | FLOAT | 1.0-999999β999999 | β |
| Boundary_3_MIN | FLOAT | 0.0-999999β999999 | β |
| Boundary_3_MAX | FLOAT | 1.0-999999β999999 | β |
| Boundary_4_MIN | FLOAT | 0.0-999999β999999 | β |
| Boundary_4_MAX | FLOAT | 1.0-999999β999999 | β |
| Boundary_5_MIN | FLOAT | 0.0-999999β999999 | β |
| Boundary_5_MAX | FLOAT | 1.0-999999β999999 | β |
Outputs (10)
| Name | Type | Description |
|---|---|---|
| value1_float | FLOAT | β |
| value1_int | INT | β |
| value2_float | FLOAT | β |
| value2_int | INT | β |
| value3_float | FLOAT | β |
| value3_int | INT | β |
| value4_float | FLOAT | β |
| value4_int | INT | β |
| value5_float | FLOAT | β |
| value5_int | INT | β |