News for hackers. Stuff that matters.
Re:Riffusion – Stable Diffusion fine-tuned to generate Music by xnzakg on Thursday December 15, 2022 @12:16PM (#34002644)
Considering Stable Diffusion generates 3-channel (RGB) images, maybe it would be possible to train it on amplitude and phase data as two different channels?
Re:Riffusion – Stable Diffusion fine-tuned to generate Music by haykmartiros on Thursday December 15, 2022 @12:34PM (#34002891)
We took a look at encoding phase, but it is very chaotic and looks like Gaussian noise. The lack of spatial patterns is very hard for the model to generate. I think there are tons of promising avenues to improve quality though.
Re:Riffusion – Stable Diffusion fine-tuned to generate Music by dspig on Friday December 16, 2022 @05:53AM (#34013064)
Phase itself looks random, but what makes the sound blurry is that the phase doesn't line up like it should across frequencies at transients. Maybe something the model could grab hold of better is phase discontinuity (deviation from the expected phase based on the previous slices) or relative phase between peaks, encoded as colour?

But the same thing could be done as a post-processing step, finding points where the spectrum is changing fast and resetting the phases to make a sharper transient.

Re:Riffusion – Stable Diffusion fine-tuned to generate Music by haykmartiros on Friday December 16, 2022 @05:34PM (#34021542)
That makes a lot of sense, I would be keen to see attempts at that.
Re:Riffusion – Stable Diffusion fine-tuned to generate Music by antognini on Thursday December 15, 2022 @12:34PM (#34002887)
People have tried that, but the model essentially learns to discard the phase channel because it is too hard for it to learn any useful information from it.
Re:Riffusion – Stable Diffusion fine-tuned to generate Music by techdragon on Friday December 16, 2022 @06:17AM (#34013262)
Got any citations... that sounds like a fascinating thing to read about.