SayanoAI / Comfy-RVC

ComfyUI custom nodes for RVC related inference and image generation
MIT License
11 stars 2 forks source link

how to input audio? #5

Closed bob83111 closed 3 weeks ago

bob83111 commented 1 month ago

I couldn't input audio into the audio input ports of any nodes. The audio ports cannot be connected, regardless of whether it is a WAV file or an MP3 file. Could you please tell me the reason for this? How should I solve this problem?

SayanoAI commented 1 month ago

Can you show me what your workflow looks like? You might have to right click on the node and click "fix nodes".

bob83111 commented 1 month ago

0721142652 I have two "load audio" nodes. Please see the image: Node A is summoned by clicking the "audio" input port of "vocal removal," while Node B is summoned from the right-click menu (as shown, it is in the root directory of the audio menu, not under the RVC-studio sub-options). Node A can connect to the vocal removal (and other nodes that require audio input), but Node B cannot. I personally suspect that it might be due to a conflict in node names. My ComfyUI is an integrated package created by someone else, not self-deployed. Additionally, where should I place the UVR models for vocal separation, the singer voice models, and the whisper models? Lastly, can this node be used to train vocal models? I would appreciate your guidance. Thank you very much.

bob83111 commented 1 month ago

微信图片_20240721190319 Your script forces downloading the model from huggingface.co. Could you please tell me which file I should modify to change this setting? My network is restricted, and I can't download it. Later, I individually accessed /sayanoai/rvc-studio and found only one safetensors model of over 300MB. Actually, I already have these models, but I don't know where to place them.

SayanoAI commented 1 month ago

Yep, I suspect there's a naming conflict somewhere with the Load Audio Node. All the nodes that work with Comfy-RVC should be organized under the RVC-Studio tab in the menu.

Your RVC models should go in ComfyUI\models\RVC, UVR models go in ComfyUI\models\UVR.

PrometheusDante commented 1 month ago

The example workflows are outdated in that regard, but I found fitting conversion nodes from this custom node pack : ComfyUI-VideoHelperSuite This is the reworked version of the complete example, it is a little customized already, but does not use any other nodes than that videohelper suite and all settings are at the default pretty much.

workflow

complete-ai-voice-changer_custom.json

SayanoAI commented 1 month ago

Thanks for that, the latest update should have an extra output that works fine with the regular comfyui audio: image