Nodes/ComfyUI_Yvann-Nodes/Edit Audio Weights
ComfyUI Node

Edit Audio Weights

Smooths and rescales audio weights for animation control. Connect the output to Multival (Float List) from AnimateDiff-Evolved to schedule motion with audio, or to Latent Keyframe From List to schedule ControlNet Apply. The smooth parameter (0.0 to 1.0) controls the smoothing factor where higher values result in smoother transitions. The min_range and max_range parameters define the minimum and maximum values of the rescaled weights - AnimateDiff multival works best between 0.9 and 1.3 range. Outputs include process_weights (smoothed and rescaled audio weights ready to connect to AD multival) and graph_audio (visual graph of the processed weights).

By yvann-ba·Created 2 years ago·Updated 6 months ago· 705
Edit Audio Weights
  • any_audio_weights
  • process_weights
  • graph_audio
smooth0.00
min_range0.00
max_range1.00
Category👁️ Yvann Nodes/🔊 Audio

Inputs (4)

NameTypeDefaultDescription
any_audio_weightsFLOATSAudio weights from Audio Analysis or Audio Peaks Detection
smoothFLOAT0.000–1Smoothing factor (0=none, 1=max smoothing)
min_rangeFLOAT0.000–2.99Minimum output value after rescaling
max_rangeFLOAT1.000.01–3Maximum output value after rescaling

Outputs (2)

NameTypeDescription
process_weightsFLOAT
graph_audioIMAGE