Patreon
Home / Videos / Make AI Music From a Text Prompt on Your PC: Meta's MusicGen

Make AI Music From a Text Prompt on Your PC: Meta's MusicGen (AudioCraft) Full Tutorial, 2023

AudioCraft Plus is an all-in-one AudioCraft WebUI for MusicGen and AudioGen; this Windows auto installer sets up both it and the original AudioCraft.

Published Jun 10, 2023 · 31,762 views · Watch on YouTube

Get the app and files

AudioCraft Plus Auto Installer: MusicGen and AudioGen WebUI

AudioCraft Plus Auto Installer: MusicGen and AudioGen WebUI

AudioCraft Plus is an all-in-one AudioCraft WebUI for MusicGen and AudioGen; this Windows auto installer sets up both it and the original AudioCraft.

Chapters

  1. 0:00 Introduction to Audiocraft full tutorial with example AI generated music
  2. 0:30 Sample several songs made by me via Audiocraft
  3. 1:27 How to save generated music files on your computer
  4. 3:53 How to install Audiocraft
  5. 6:49 How to do automatic installation with my special scripts
  6. 8:52 How to start Audiocraft / MusicGen application and use it
  7. 11:57 Where the Audiocraft / MusicGen model files are saved
  8. 12:31 How to use condition melody to generate a song
  9. 14:25 How to use Audiocraft / MusicGen on Google Colab
  10. 15:50 How to use automatic run script that I have shared
  11. 18:12 Very long text prompt experimentation
  12. 19:25 Very epic music generated by Audiocraft
  13. 20:44 How to close Google Colab runtime - turn it off
  14. 22:34 Amazing music generated by MusicGen
  15. 23:50 How to use pip freeze to see versions of all installed libraries
  16. 24:22 How to install specific version of a library in Python

About this video

GitHub instructions Readme file and Patreon Auto installer updated at 4 August 2023.

Facebook Meta Research has published the new amazing text-to-music model Audiocraft (MusicGen). In this video I have shown how you can install Audiocraft on your computer or use it on the Google Colab for free. This AI model can generate amazing music from just text or with text and supportive melody. It is is just amazing.

1 Click Auto Installer Updated 4 August 2023 ⤵️

https://www.patreon.com/posts/ai-music-auto-84334460

Source GitHub File (Readme File) ⤵️

https://github.com/FurkanGozukara/Stable-Diffusion/blob/main/Tutorials/AI-Music-Generation-Audiocraft-Tutorial.md

Our Discord server ⤵️

https://bit.ly/SECoursesDiscord

If I have been of assistance to you and you would like to show your support for my work, please consider becoming a patron on 🥰 ⤵️

https://www.patreon.com/SECourses

Technology & Science: News, Tips, Tutorials, Tricks, Best Applications, Guides, Reviews ⤵️

https://www.youtube.com/playlist?list=PL_pbwdIyffsnkay6X91BWb9rrfLATUMr3

Playlist of StableDiffusion Tutorials, Automatic1111 and Google Colab Guides, DreamBooth, Textual Inversion / Embedding, LoRA, AI Upscaling, Pix2Pix, Img2Img ⤵️

https://www.youtube.com/playlist?list=PL_pbwdIyffsmclLl0O144nQRnezKlNdx3

0:00 Introduction to Audiocraft full tutorial with example AI generated music

0:30 Sample several songs made by me via Audiocraft

1:27 How to save generated music files on your computer

3:53 How to install Audiocraft

6:49 How to do automatic installation with my special scripts

8:52 How to start Audiocraft / MusicGen application and use it

11:57 Where the Audiocraft / MusicGen model files are saved

12:31 How to use condition melody to generate a song

14:25 How to use Audiocraft / MusicGen on Google Colab

15:50 How to use automatic run script that I have shared

18:12 Very long text prompt experimentation

19:25 Very epic music generated by Audiocraft

20:44 How to close Google Colab runtime - turn it off

22:34 Amazing music generated by MusicGen

23:50 How to use pip freeze to see versions of all installed libraries

24:22 How to install specific version of a library in Python

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.

Audiocraft is a PyTorch library for deep learning research on audio generation. At the moment, it contains the code for MusicGen, a state-of-the-art controllable text-to-music model.

MusicGen

Audiocraft provides the code and models for MusicGen, a simple and controllable model for music generation. MusicGen is a single stage auto-regressive Transformer model trained over a 32kHz EnCodec tokenizer with 4 codebooks sampled at 50 Hz. Unlike existing methods like MusicLM, MusicGen doesn't require a self-supervised semantic representation, and it generates all 4 codebooks in one pass. By introducing a small delay between the codebooks, we show we can predict them in parallel, thus having only 50 auto-regressive steps per second of audio. Check out our sample page or test the available demo!

MusicGen Model Card

Model details

Organization developing the model: The FAIR team of Meta AI.

Model date: MusicGen was trained between April 2023 and May 2023.

Model version: This is the version 1 of the model.

Model type: MusicGen consists of an EnCodec model for audio tokenization, an auto-regressive language model based on the transformer architecture for music modeling. The model comes in different sizes: 300M, 1.5B and 3.3B parameters ; and two variants: a model trained for text-to-music generation task and a model trained for melody-guided music generation.