NormalizedAmplitudeToFloatList
This node accepts an input of type NORMALIZED_AMPLITUDE, which should be an array representing audio amplitude.
Normalized Amplitude To Float List
The NormalizedAmplitudeToFloatList node receives an input of type NORMALIZED_AMPLITUDE, which should be an array representing audio amplitude.
The NormalizedAmplitudeToFloatList node is an audio data processing node whose core function is to convert normalized audio amplitude data into a list of floating-point numbers. It primarily serves as a bridge connecting other audio processing nodes, facilitating data transfer between different nodes.
Node Function
This node receives an input of type NORMALIZED_AMPLITUDE, which should be an array representing audio amplitude. Internally, the node uses the NumPy library's clip function to ensure all input values are constrained within the range [0.0, 1.0], then converts the processed array into a standard Python list format for output.
Node Parameter Description - NormalizedAmplitudeToFloatList
Connection Inputs (Inputs)
| Parameter Name | Data Type | Required | Default Value | Range/Options | Description |
|---|---|---|---|---|---|
normalized_amp | NORMALIZED_AMPLITUDE | Yes | - | - | Parameter description 1 (Input parameter: Receives a normalized audio amplitude array. Its values will be automatically clipped to the range 0.0 to 1.0.) |
Output
| Parameter Name | Data Type | Description |
|---|---|---|
| FLOAT | FLOAT | Parameter description 2 (Output parameter: Outputs a list composed of floating-point numbers, intended for passing to downstream nodes.) |
Usage Scenarios
In practical applications, this node is often used in conjunction with the AudioScheduler series of nodes to form an audio-driven generation workflow. For example, a user can feed analyzed audio amplitude into this node, then connect the output list of floating-point numbers to nodes controlling image generation parameters (such as intensity, scale), thereby achieving effects like audio rhythm visualization or audio-visual synchronization.
NormalizedAmplitudeToFloatList Node Source Code Link
The NormalizedAmplitudeToFloatList node is from the ComfyUI-KJNodes node package.
Comments
Sign in with GitHub to join the discussion.