The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
VAEDecodeAudio now does some normalization on the audio.
comfyanonymous56e8f5e4fd0a
diff --git a/comfy_extras/nodes_audio.py b/comfy_extras/nodes_audio.pyindex 6990b3f9a..1c763f259 100644--- a/comfy_extras/nodes_audio.py+++ b/comfy_extras/nodes_audio.py@@ -58,6 +58,9 @@ class VAEDecodeAudio:def decode(self, vae, samples):audio = vae.decode(samples["samples"]).movedim(-1, 1)+ std = torch.std(audio, dim=[1,2], keepdim=True) * 5.0+ std[std < 1.0] = 1.0+ audio /= stdreturn ({"waveform": audio, "sample_rate": 44100}, )