Nodes: StableAudioSampler. Wraps the new Stable Audio Open Model in the sampler that dropped Jun 5th. See Github for Features
The New Stable Audio Open 1.0 Sampler In a ComfyUI Node. Make some beats!
In this workflow, I got random cfg_scale
, sigma_min
and step
values making variations on the same 16 beats; same prompt
and seed
. VOLUME WARNING!
https://github.com/lks-ai/ComfyUI-StableAudioSampler/assets/163685473/5f43db75-cc35-47f3-999b-6f65f91420eb
model.safetensors
and model.config.json
files.models/audio_checkpoints
folder. If you don't have one, make one in your comfy folder.HF_TOKEN
environment variable for hugging face because model loading doesn't work just yet directly from a saved filepip install -r requirements.txt
inside the repo folder if you're not using ManagerThere will definitely be issues because this is so new and it was coded quickly so we couldn't test it out.
This is not an official StableAudioOpen repository.
models/audio_checkpoints
for models and config.json filescontrol_after_generate
optionwav
to temp/stableaudiosampler.wav
you can use for looping like in this video.The part I use AnyNode for is just getting random values within a range for cfg_scale
, steps
and sigma_min
thanks to feedback from the community and some tinkering, I think I found a way in this workflow to just get endless sequences of the same seed/prompt in any key (because I mentioned what key the synth lead needed to be in).
With the new save prefix templating, it makes it easy to just look at the file and know what settings (since wav doesn't have PNGinfo)
Keeping track of requests and ideas as they come in:
progressbar
If you get the progressbar
error, you can use our new utility from the latest update.
cd ComfyUI/custom_modules/ComfyUI-StableAudioSampler
python util_discrepancies.py progressbar
You will see something like this...
In this screenshot, you see protobuf
but that is only because I don't have version issues with progressbar
.
Note: If I install one of those version suggestions, StableAudioSampler should work, but at the same time, it might make other packages not work.
We are very open to anyone who wants to contribute from the open source community. Make your forks and pull requests. We will build something cool. If it's already on the roadmap, chances are we're already working on it, so check in with us. We will start a dev branch.
If you have a request for a feature, open an issue about it and it will be seen.
Happy Diffusing!