Nodes/Ray's Orenchi/πŸŽ›οΈ Ray's Analog: Control (Knob / Slider)
ComfyUI Node

πŸŽ›οΈ Ray's Analog: Control (Knob / Slider)

Analog-style float control: a rotary knob or a slider, themed after studio hardware. Drag turns the knob or moves the slider cap; outputs both an INT (quantized by `clamp`) and a raw FLOAT so it plugs into either side without a converter. Right-click for the 31 shared hardware styles, Mute sound (knobs, sliders and switches make hardware sounds), Compact mode (the faceplate alone: no title bar, pins, setup panel or node background; drag it by its frame, links meet it under the face), and Edit label. The Dymo tape above the face is double-click editable and is saved with the workflow.

By MutantSparrowΒ·Created 4 months agoΒ·Updated 3 days agoΒ· 1
πŸŽ›οΈ Ray's Analog: Control (Knob / Slider)
    • int
    • float
    β—„min_value-100.0β–Ί
    β—„max_value100.0β–Ί
    β—„clamp0.0β–Ί
    β—„allow_negativetrueβ–Ί
    β—„knob_value0.0000β–Ί
    CategoryπŸ‘‘ Ray/πŸŽ›οΈ Analog

    Inputs (5)

    NameTypeDefaultDescription
    min_valueFLOAT-100.0-1000000000–1000000000Lowest allowed output value. Negative limits apply only when Allow negative is enabled.
    max_valueFLOAT100.0-1000000000–1000000000Highest allowed output value. A value below the effective minimum collapses the range to that minimum.
    clampFLOAT0.00–1024Quantization step for the INT output. 0 truncates.
    allow_negativeBOOLEANtrueWhether min_value may go below 0.
    knob_valueFLOAT0.0000-1000000000000–1000000000000Current knob value (driven by the widget).

    Outputs (2)

    NameTypeDescription
    intINTKnob value quantized to `clamp` steps.
    floatFLOATRaw knob value clamped to [min_value, max_value].