Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate a music longer than 5 seconds? #153

Open
jiapei100 opened this issue Aug 23, 2023 · 2 comments
Open

Generate a music longer than 5 seconds? #153

jiapei100 opened this issue Aug 23, 2023 · 2 comments

Comments

@jiapei100
Copy link

Does it have a argument for the length of the generated music??

Thanks...

@bernland
Copy link

bernland commented Sep 4, 2023

Same question here...

@justanothernguyen
Copy link

If you use the playground there should be an option called "width", the bigger this number the longer music is generated, default is 512. But at some point you'll be limited by VRAM, and the quality diminish.

Another way is to load up the model in a stable diffusion UI (A1111 or ComfyUI for example), generate the spectrogram, then outpaint to the right for longer file.

Here's one I did in ComfyUI, outpainting 4 times:

ComfyUI_temp_azmem_00028_

Finally use riffusion (either CLI or playground) to turn the spectrogram to audio.

If the spectrogram get too long, I think we can just split it in half, outpaint the right image, then stitch back the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants