#4 · Primary category: AI Music Generation

riffusion-hobby

ai audio diffusers diffusion music stable-diffusion

Stable diffusion for real-time music generation

Project last updated:07/22/24

GitHub Stars

3.9K

Forks

477

Contributors

6

License

MIT

Why we included this project

Riffusion's claim to fame is that it treats music as images. Instead of modeling audio directly, it runs stable diffusion on spectrogram frames and converts the generated frames back into sound, which is a genuinely unusual way to approach real-time music generation. The repository packs the diffusion pipeline, spectrogram to audio conversion, a CLI, and a small Flask inference server into one codebase, so it is a compact place to start if you want to understand how text-conditioned audio synthesis works. The prompt interpolation feature, which morphs between descriptions like "church bells" and "jazz piano", is a nice demonstration of steering diffusion over time. Be aware that the project is no longer actively maintained, and real-time generation wants a strong GPU, so plan on adapting the code and bumping the diffusers version yourself. For hobbyists and researchers exploring generative audio rather than teams shipping production systems, it is still a useful and historically important reference.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category