What is MusicGen
Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
Meta’s open source AI MusicGen turns text and melody into new songs
GitHub - facebookresearch/audiocraft: Audiocraft is a library for audio processing and generation…
Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art…
MusicGen - a Hugging Face Space by facebook
Discover amazing ML apps made by the community
Simple and Controllable Music Generation
We tackle the task of conditional music generation. We introduce MusicGen, a single Language Model (LM) that operates…
- Go to Google Colab
- Change Runtime
- Run code
- Try to generate sound
step 1. Go to Google Colab
step 2. Change Runtime
Runtime and select
step 3. Run code
!git clone -b dev https://github.com/camenduru/MusicGen-hf
!pip install -r requirements.txt
Installing python packages will take some time.
If everything works properly, you will see something like this.
step4. Try to generate sound
If you click the link
Running on public URL:, you will see Gardio.
Now time to create your own sound via prompt!
It would take around 1–2 minutes to generate a mp4 file.