Skip to content

Audio Reactivity Nodes for ComfyUI πŸ”Š Create AI generated audio-driven animations. Compatible with IPAdapter, ControlNets, AnimateDiff...

License

Notifications You must be signed in to change notification settings

yvann-ba/ComfyUI_Yvann-Nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”Š ComfyUI_Yvann-Nodes Check the Tutorial

Made with the help of Lilien unnamed

A pack of custom nodes that enable audio reactivity within ComfyUI, allowing you to generate AI-driven animations that sync with music


What Does This Do?

  • Create Audio Reactive AI videos, enable controls over AI generations styles, content and composition with any audio
  • Simple: Just Drop one of our Workflows in ComfyUI and specify your audio and visuals input
  • Flexible: Works with existing ComfyUI AI tech and nodes (eg: IPAdapter, AnimateDiff, ControlNet, etc.)

Video result (generated by our amazing users 😁)

Audio Reactive Images to Video ⬇️

Yvann.mp4
@idgrafix.mp4
@idgrafix2.mp4
Yvann2.mp4
@idgrafix3.mp4
@NebSh.mp4

Audio Reactive Video to Video ⬇️

Lilien.mp4
@VisualFrisson.mp4

Quick Setup

Pick a Workflow (Images β†’ Video or Video β†’ Video)

  1. Images β†’ Video

    • Takes a set of images plus an audio track.
    • Watch Tutorial:
      Images2Video
  2. Video β†’ Video

    • Takes a source video plus an audio track.
    • Watch Tutorial:
      Video2Video

Load Your Chosen Workflow in ComfyUI

  1. Download the .json file for the workflow you picked:

  2. Drop the .json file into the ComfyUI window.

  3. Open the β€œπŸ§© Manager” β†’ β€œInstall Missing Custom Nodes”

    • Install each pack of nodes that appears.
    • Restart ComfyUI if prompted.
  4. Set Your Inputs & Generate

    • Provide the inputs needed (everything explained here
    • Click Queue button to produce your audio-reactive animation!

That’s it! Have fun playing with the differents settings now !! (if you have any questions or problems, check my Youtube Tutorials


Nodes Details

Click to Expand: Node-by-Node Reference

Audio Analysis πŸ”

Analyzes audio to generate reactive weights for each frame.

Node Parameters
  • audio_sep_model: Model from "Load Audio Separation Model"
  • audio: Input audio file
  • batch_size: Frames to associate with audio weights
  • fps: Frame rate for the analysis

Parameters:

  • analysis_mode: e.g., Drums Only, Vocals, Full Audio
  • threshold: Minimum weight pass-through
  • multiply: Amplification factor

Outputs:

  • graph_audio (image preview),
  • processed_audio, original_audio,
  • audio_weights (list of values).

Load Audio Separation Model 🎧

Loads or downloads an audio separation model (e.g., HybridDemucs, OpenUnmix).

Node Parameters
  • model: Choose between HybridDemucs / OpenUnmix.
  • Outputs: audio_sep_model (connect to Audio Analysis or Remixer).

Audio Peaks Detection πŸ“ˆ

Identifies peaks in the audio weights to trigger transitions or events.

Node Parameters
  • peaks_threshold: Sensitivity.
  • min_peaks_distance: Minimum gap in frames between peaks.
  • Outputs: Binary peak list, alternate list, peak indices/count, graph.

Audio IP Adapter Transitions πŸ”„

Manages transitions between images based on peaks. Great for stable or style transitions.

Node Parameters
  • images: Batch of images.
  • peaks_weights: From β€œAudio Peaks Detection”.
  • blend_mode, transitions_length, min_IPA_weight, etc.

Audio Prompt Schedule πŸ“

Links text prompts to peak indices.

Node Parameters
  • peaks_index: Indices from peaks detection.
  • prompts: multiline string.
  • Outputs: mapped schedule string.

Audio Remixer πŸŽ›οΈ

Adjusts volume levels (drums, vocals, bass, others) in a track.

Node Parameters
  • drums_volume, vocals_volume, bass_volume, others_volume
  • Outputs: single merged audio track.

Repeat Image To Count πŸ”

Repeats a set of images N times.

Node Parameters
  • mask: Mask input.
  • Outputs: Repeated images.

Invert Floats πŸ”„

Flips sign of float values.

Node Parameters
  • floats: list of floats.
  • Outputs: inverted list.

Floats Visualizer πŸ“ˆ

Plots float values as a graph.

Node Parameters
  • floats (and optional second/third).
  • Outputs: visual graph image.

Mask To Float 🎭

Converts a mask into a single float value.

Node Parameters
  • mask: input.
  • Outputs: float.

Floats To Weights Strategy πŸ‹οΈ

Transforms float lists into an IPAdapter β€œweight strategy.”

Node Parameters
  • floats: list of floats.
  • Outputs: dictionary with strategy info.

6. Thank You!

Please give a ⭐ on GitHub it helps us enhance our Tool and it's Free for you !! (:

About

Audio Reactivity Nodes for ComfyUI πŸ”Š Create AI generated audio-driven animations. Compatible with IPAdapter, ControlNets, AnimateDiff...

Topics

Resources

License

Stars

Watchers

Forks