Float Array To Graph
Graph any float array, not just the pack's types
- graph_image
FloatArrayToGraph is the pack's general-purpose grapher. Where AmplitudeToGraph and NormalizedAmplitudeToGraph only accept the pack's custom amplitude types, this one takes a plain FLOAT array and draws it as an IMAGE - no AMPLITUDE or NORMALIZED_AMPLITUDE pedigree required. If you have a series of numbers and want to eyeball it as a line plot, this is the node.
In practice the pack uses it exactly like that: the example workflow wires the FLOAT output of NormalizedAmplitudeToNumber (and AmplitudeToNumber) into FloatArrayToGraph to preview the converted numbers - the per-frame float series - before they go anywhere. It's the same "look at your curve before you trust it" habit as the pack's other graph nodes, minus the type restrictions. And because it accepts any float array, it's also a decent general sanity-check tool in any graph where you've built a numeric schedule by hand.
Inputs and output
- float_array (
FLOAT) - the array to plot. If you feed it a single float instead of an array, it wraps it into a one-element array rather than complaining, though one point isn't a useful graph.
Output: graph_image (IMAGE) - same matplotlib-under-the-hood line plot as the other graph nodes (frame/step index on x, value on y, scientific notation off), wired to a PreviewImage to see it.
It's a thin node, honestly - there's no real configuration to get wrong. Two small notes: the plot is a static render of whatever array you hand it, so it's a check-this-before-you-render tool, not a live monitor; and it'll happily graph a flat or empty array, which is the signal to look upstream (most likely at the FLOAT source, or the band range on BatchAmplitudeSchedule) rather than at the plot.
Install comes with the pack: ComfyUI Manager search ComfyUI-AudioScheduler, or git clone https://github.com/a1lazydog/ComfyUI-AudioScheduler into custom_nodes and restart. CPU-only, no models.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| float_array | FLOAT | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| graph_image | IMAGE | — |