yvann-ba / ComfyUI_Yvann-Nodes

Audio Reactivity Nodes for ComfyUI 🔊 Create AI generated audio-driven animations. Compatible with IPAdapter, ControlNets, AnimateDiff...
GNU General Public License v3.0
217 stars 6 forks source link

Error occurred when executing Audio Analysis #15

Open Majkele9 opened 6 days ago

Majkele9 commented 6 days ago

I have a problem uploading an mp3 file. When I want to upload an mp3 file, I get this message: Error occurred when executing Audio Analysis:

argument of type 'function' is not iterable

File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Yvann-Nodes\nodes\audio\AudioAnalysis.py", line 189, in process_audio if audio is None or 'waveform' not in audio or 'sample_rate' not in audio: ^^^^^^^^^^^^^^^^^^^^^^^ Can you help me?

Lilien86 commented 4 days ago

Hey, Can you share your configuration, along with the details of your audio (mono or stereo, sample rate, bit depth)? Do you encounter the problem with both audio model separations ?