Output Float
A readable number for that 0.998341 similarity score
- value
ComfyUI is full of nodes that hand you a float - a similarity score, a delay in seconds, a CFG you set wrong. And unless that float happens to land on an output node, you never actually see it. Output Float is the tiny fix: wire any FLOAT into it, and it displays the value right on the node with a label you choose and the precision you want, then passes the same value through unchanged. It's the audio pack's equivalent of a "Show Text" node, for numbers.
It ships in ComfyUI ALICE Lab Audio Tools, the fresh alpha pack (Apache 2.0, no pip deps, bilingual EN/JA) from ALICE Lab. The reason it exists is right in the pack's own example workflow: Compare Audio produces similarity (a 0.0–1.0 scalar) and audio_2_delay_seconds, and its default formatting is six decimal places - which is great for science and terrible for reading at a glance. Output Float is what you hang those on to actually see them.
How it works
Three inputs, all simple:
value- aFLOATyou connect. Note it's a forced input (forceInputin the source), meaning you can't type a number into it - it must come from a wire. That's intentional: this is a display-and-pass-through node, not a value source.label- a string, defaultValue, shown on the node. Name it something like "Similarity" and the node reads like an instrument panel.precision- an integer from 0 to 12 decimal places, default 6. Set 3 for readable similarity scores, 4 for delay readouts.
Single output: value, the exact same float, unchanged. It's marked an output node, so it always runs and always displays.
Where you'll use it
The canonical wiring in this pack: Compare Audio's similarity and audio_2_delay_seconds into two Output Float nodes (labels "Similarity" and "Delay"), then run. Beyond that, it's a general-purpose debugging aid - anywhere you suspect a node is emitting a weird number, drop an Output Float on it and find out. One small implementation detail worth knowing: it raises an error if the input isn't a finite number, so a NaN or infinity bubbling out of an upstream node surfaces here as a loud failure instead of a silent weirdness.
Install
# ComfyUI Manager → search "ComfyUI ALICE Lab Audio Tools" → Install → restart
# or:
cd ComfyUI/custom_nodes
git clone https://github.com/alice-lab-dev/ComfyUI-ALICE-Lab-Audio-Tools
# restart, then Add Node → ALICE_Lab → Utils
Pack-wide requirements apply (a current ComfyUI with the AUDIO/VIDEO types; ffmpeg/ffprobe on PATH even though this node doesn't touch media itself). No model downloads, no Python dependencies.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| value | FLOAT | — | |
| label | STRING | Value | — |
| precision | INT | 60–12 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | FLOAT | — |