Audio Peaks Detection
Audio Peaks Detection
Detects peaks in audio weights based on threshold and minimum distance between peaks. This node identifies significant audio events to trigger visual changes or actions. The peaks_threshold parameter controls the minimum height required for peak detection (0.0 to 1.0), while min_peaks_distance sets the minimum number of frames between consecutive peaks, helping remove unwanted close peaks around bigger peaks. Outputs include peaks_weights (binary list with 1 for peak, 0 otherwise), peaks_alternate_weights (alternating pattern), peaks_index (comma-separated frame numbers), peaks_count (total detected peaks), and graph_peaks (visual overlay showing detected peaks).
Pack: ComfyUI_Yvann-Nodes
custom_nodes.ComfyUI_Yvann-Nodes