https://github.com/MixLabPro/comfyui-sound-lab
A node collection for sound design, supporting MusicGen and Stable Audio. Welcome to use and experience it.
https://github.com/MixLabPro/comfyui-sound-lab
musicgen stable-audio
Last synced: about 2 months ago
JSON representation
A node collection for sound design, supporting MusicGen and Stable Audio. Welcome to use and experience it.
- Host: GitHub
- URL: https://github.com/MixLabPro/comfyui-sound-lab
- Owner: shadowcz007
- Created: 2024-02-08T06:10:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-20T02:07:31.000Z (over 1 year ago)
- Last Synced: 2024-06-21T15:02:41.978Z (over 1 year ago)
- Topics: musicgen, stable-audio
- Language: Python
- Homepage:
- Size: 355 KB
- Stars: 52
- Watchers: 2
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **comfyui-sound-lab**
- awesome-comfyui - **comfyui-sound-lab**
- awesome-comfyui - **comfyui-sound-lab**
README
> [寻求帮助 Mixlab nodes discord](https://discord.gg/cXs9vZSqeK)
> [推荐:mixlab-nodes](https://github.com/shadowcz007/comfyui-mixlab-nodes)

## 模型
[musicgen-small](https://huggingface.co/facebook/musicgen-small) 放到文件夹 models/musicgen/:
下载[stable-audio-open](https://huggingface.co/stabilityai/stable-audio-open-1.0) 到文件夹:
```ComfyUI\models\stable_audio\model.safetensors```## 声音长度
长度(秒)= 样本大小 / 样本率
"sample_size": 2097152,
"sample_rate": 44100,sample_size/sample_rate =47.55s
## 安装
测试机器:
torch 2.2.2+cu121下载 [flash-attention](https://github.com/bdashore3/flash-attention/releases/download/v2.5.2/flash_attn-2.5.2+cu122torch2.2.0cxx11abiFALSE-cp311-cp311-win_amd64.whl)
到comfyui-sound-lab 目录下,然后双击 ```install.bat``` ,适配window的安装包
如果安装失败,可以查看下报错信息,欢迎反馈
####
使用了 audiotools ,需要 "protobuf >= 3.9.2, < 3.20" ;
onnx 需要 protobuf-5.27.2### 相关插件推荐
[comfyui-liveportrait](https://github.com/shadowcz007/comfyui-liveportrait)
[Comfyui-ChatTTS](https://github.com/shadowcz007/Comfyui-ChatTTS)
[comfyui-sound-lab](https://github.com/shadowcz007/comfyui-sound-lab)
[comfyui-Image-reward](https://github.com/shadowcz007/comfyui-Image-reward)
[comfyui-ultralytics-yolo](https://github.com/shadowcz007/comfyui-ultralytics-yolo)
[comfyui-moondream](https://github.com/shadowcz007/comfyui-moondream)