AudioCraft (MusicGen)
Meta’s library for MusicGen music generation and AudioGen sound effects.
- Star 数
- 23.7K
- Fork 数
- 2.7K
- 未关闭 Issue
- 401
- 最近提交
- 2026-03-03
数据来自 GitHub API · 更新于 2026-10-15
AudioCraft (MusicGen) 是什么?
AudioCraft contains MusicGen (text- and melody-conditioned music generation), AudioGen (sound effects) and the EnCodec codec, with a Gradio demo and training code.
主要功能
- Text-to-music with MusicGen
- Melody conditioning
- Sound effects with AudioGen
- Training code
系统要求
- 平台
- Linux · Windows · macOS
- 显卡
- NVIDIA recommended
- 显存
- 16 GB for the large model; smaller models need less
- Python
- 3.9
如何安装 AudioCraft (MusicGen)
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
pip
- 1Install PyTorch 2.1+, ffmpeg, then AudioCraft.
python -m pip install -U audiocraft - 2Run the MusicGen demo (from a clone of the repo).
python -m demos.musicgen_app --share
优势
- Solid open music generation
- Research-grade toolkit
不足
- Model weights are CC-BY-NC
- Short clips
AudioCraft (MusicGen) 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| AudioCraft (MusicGen) Meta’s library for MusicGen music generation and AudioGen sound effects. | 23.7K | MIT | 16 GB for the large model; smaller models need less | |
| Stable Audio Tools Training and inference code for Stable Audio Open. | 3.9K | MIT | — | |
| Bark Suno’s generative audio model: speech, music snippets and sound effects. | 39.3K | MIT | ~12 GB full; ~8 GB with small models | |
| Whisper OpenAI’s open-source speech recognition and translation model. | 110.5K | MIT | ~1 GB (tiny) to ~10 GB (large) | |
| whisper.cpp Whisper in plain C/C++ — fast on CPUs, Apple Silicon and mobile. | 54.4K | MIT | — | |
| faster-whisper Whisper reimplemented on CTranslate2 — up to 4× faster with less memory. | 25.9K | MIT | — |
常见问题
AudioCraft (MusicGen) 免费吗?
是的——AudioCraft (MusicGen) 是开源软件,采用 MIT 许可证。商用前请确认软件及模型权重的许可条款。
AudioCraft (MusicGen) 支持 Windows、Mac 和 Linux 吗?
AudioCraft (MusicGen) 支持:Linux, Windows, macOS。
运行 AudioCraft (MusicGen) 需要什么配置?
NVIDIA recommended. VRAM: 16 GB for the large model; smaller models need less
如何安装 AudioCraft (MusicGen)?
1. Install PyTorch 2.1+, ffmpeg, then AudioCraft. 2. Run the MusicGen demo (from a clone of the repo).
AudioCraft (MusicGen) 有哪些好的替代品?
常见替代品包括 Stable Audio Tools, Bark, Whisper, whisper.cpp,详见本页对比表。