Generative AI Audio with Audiocraft 2 – Audiogen Frontend
Practical AI through Prototypes
Music
Make a clip
CC BY 3.0 · Practical AI through Prototypes
Up to 60 seconds, at most the picture size of the copy it is cut from. The clip carries the title, the credit, the licence and a link back here. It is made in this browser, and nothing is sent to this site.
Or send the moment itself: https://invisiblenetwork.ai/watch/archive/commons/152523560?play=1&t=0
Parts
About
In this continuation of the generative audio with audiocraft series, we'll integrate a front end and backend interface so users can submit descriptions of sound files they want to hear and then download them.
Starting Code: https://github.com/heaversm/audiocraft-tutorials/tree/tutorials/02-audiogen-params Ending Code: https://github.com/heaversm/audiocraft-tutorials/tree/tutorials/03-audiogen-flask
About Me: I am a Staff Design Technologist on Mozilla's Innovation Team. All opinions and explorations are my own. Learn more about Mozilla Innovation at future.mozilla.org
0:00 - overview 2:00 - setting up our backend with Flask 4:55 - routing to an html frontend from Flask 6:45 - setting up our backend to be able to accept data from the front end and return results 9:45 - setting up a form on the front end to pass in audio descriptions to generate 10:45 - writing the front end javascript to submit that data to our backend route, and display the results from the backend. 13:10 - testing our working app 14:55 - configuring the backend to deliver downloadable generated audio files 17:30 - debugging errors
20:45 - wrapup and next steps: implementing a simpler interface with Gradio
Human-made No record of this work says a model made it. What this means.