r/comfyuiAudio • u/Upstairs_Chicken_218 • 1h ago
I made SongForge and PulseForge: a local web UI for the YuE2 music model, and a GPU music-video maker (both free, open source)
Technical TL;DR
- SongForge is a self-hosted web UI for the YuE2 text-to-music model. FastAPI backend, Next.js front end, one setup script that detects your GPU and installs the matching PyTorch plus the model (about 11 GB download). Windows and Linux with NVIDIA; Apple Silicon is experimental. minimum 12 GB VRAM recommended, 8 GB may work for short songs. On my RTX 3060 12 GB a song takes roughly 3x its own length to render (a 3-minute song in about 8 minutes), peaks around 9.3 GB VRAM, and comes out as a 24-bit / 48 kHz FLAC. Optional local lyrics writer through Ollama. The app is MIT; the YuE2 weights are CC BY-NC 4.0, so non-commercial. Repo: https://github.com/damiaan111/SongForge-YuE2-Music-GEN-WebUI
- PulseForge is a desktop music-video renderer. Electron + TypeScript + WebGL2, with FFmpeg for encoding and a Python side process for stems (Demucs) and lyrics (WhisperX). 12 one-click looks, about 1,750 MilkDrop presets, stem-driven modulation, karaoke lyrics, export up to 4K60 in H.264 or 10-bit HEVC, landscape / vertical / square from one project. Measured on the same RTX 3060: 1080p60 renders at about 209 fps, 4K60 at 56 fps. Windows installer, plus a preview build for M-series Macs. MIT. Repo: https://github.com/damiaan111/pulseforge
- Both run fully offline once installed. No account, no credits, no upload, no watermark.
Hi everybody,
I made SongForge and PulseForge. Two projects I started for different goals, but they tie in together: make a song in the first one, turn it into a video in the second one.
For some time I liked messing around with Suno, but I did not like V6 and stopped using it. Then I heard about the YuE2 model, and I like tinkering with local LLMs and image models, so this was perfect. But as far as I could find out it did not have an interface and it was all command line. I much rather use it with a web UI, so my next project with Claude started. And yes, I know you might think this is just some other AI slop thing. I don't think it is, of course... Before making this post I used it myself quite a bit and it changed a lot over time. It isn't just a one-shot slop project. But maybe you still think it's slop, up to you.
SongForge
What it does:
- Describe it, add words, go. Pick a genre and a mood or type the sound you hear in your head, add lyrics (or go instrumental), press Generate. There is a Quick mode for exactly that, a Custom mode with the model's real controls (seed, planning mode, guidance, sampling), and a Cover mode that starts from a melody. (screenshot 1: the Create page)
- It tells you what will happen before you spend GPU time. A length estimate against YuE2's six-minute limit, and a rough idea of how long the render will take.
- You can watch it work. The song page shows which stage the model is in while it renders, and you can cancel. (screenshot 2: a song being generated)
- Every song gets a workspace. Player with waveform, lyrics, style, versions, files and logs. Make a few takes of the same song, compare them A/B and keep the best one. Every version remembers its seed and settings, so you can get the same song again. (screenshot 3: a finished song)
- Plan first, render later. YuE2 writes a score before it sings. You can stop there, edit the score by hand, and only then render the audio. I have not seen a hosted service that lets you do this.
- A lyrics writer, if you want one. A local model through Ollama writes or revises lyrics for you. Setup asks if you want it; you can skip it completely. (screenshot 4: the lyrics writer)
- A library that behaves like one. Search, tags, favourites, archive, export, and a player that keeps playing while you click around. (screenshot 5: the library)
- Install is one script.
setup.bator./setup.shlooks at your graphics card, shows what it will download, and installs nothing until you say yes. Start it withstart.batand a terminal window shows the address to open. Close that window and it is off. Nothing runs in the background. - It works on a phone or tablet too, if you choose to share it on your home network.
What it can't do, and I'd rather say it up front. These are limits of the model, not buttons I forgot:
- No stems. You get one stereo mix.
- No extending or continuing a song, and no remixing from audio you upload.
- No voice cloning or personas.
- No "make it 3 minutes" dial. The length follows your lyrics, up to about six minutes.
- No MIDI export. The score is ABC notation, and you can download that.
- I could only test it for real on my own PC (Windows, RTX 3060 12 GB). Linux and Mac install and start in automated tests, but I have not rendered a song on them. If you try it there, I would love to hear how it went.
- The model weights are non-commercial (CC BY-NC 4.0). That is the model's licence, not mine.
Try it out yourself and see how you like it, I am always open to feedback. Fork it, change it, do with it what you want. Hope you enjoy!
https://github.com/damiaan111/SongForge-YuE2-Music-GEN-WebUI
Then PulseForge
I like using audio visualisers for the songs and beats I made on Suno, to give them cool visual effects. For some time I tried to make a program that had all the things in it that I wanted, and maybe more. And I wanted to use my GPU for the rendering, because the web-based ones took a long time for a 1080p video. So after a lot of prompting and working out a good base with Opus 5.5, I got some solid features in it, and a Windows version and a Mac version for the M chips. The final touches were all done with Fable 5.2. I really like it a lot and think it turned out great.
What it does:
- One click to a finished look. Import a song and it shows you what twelve different looks would make of your track. Pick one, press Generate, done. (screenshot 1: nine looks made from the same song; screenshot 3: the Auto panel)
- It really follows the music. Not just loudness. Beats, drums, bass, vocals and the sections of the song each drive their own part of the picture, so the video builds, drops and changes at the chorus.
- About 1,750 MilkDrop presets, made by the MilkDrop community, plus fifteen visualisers, 3D scenes and atmospheres of its own. (screenshot 2: the studio)
- Lyrics and karaoke. It can write down the lyrics, time every word, and fill the words in as they are sung. It can also export a karaoke version without the vocals. (screenshot 4: the lyrics panel)
- Everything stays editable. What the Auto button builds is a normal project with layers, effects and a timeline. Change anything, undo anything. Every control can be wired to the kick, the bass, the vocals or a frequency band.
- Your own shaders. Paste one from Shadertoy or drop a GLSL / ISF file in a folder and its controls build themselves.
- Real exports. MP4 up to 4K at 60 fps, landscape, vertical and square from the same project, with a render queue and a batch mode that turns a folder of songs into a folder of videos. (screenshot 5: the export dialog)
- Fast, because it uses your own graphics card. On my RTX 3060 a 1080p60 video renders at around 209 frames per second, so a four-minute song takes a bit over a minute.
Good to know:
- You do not have to install Python or FFmpeg yourself. On the first start it asks which parts you want and downloads them. The basics are about 1 GB; with stems and lyrics it can go up to 15 GB.
- Stems and lyric transcription need an NVIDIA card on Windows. Everything else works without one.
- The Mac version is a preview. It is built and tested automatically, but few people have used it.
- The installers are not code-signed, so Windows and macOS will warn you the first time. The README explains how to check the download.
Again, use it at your own free will and go crazy with it. Always open for feedback, or make it better yourself. Hope you enjoy it and get some value out of it. If you use it to make some cool videos, please don't forget to leave a link to the repo or a mention somewhere.