Skip to main content
Repo·github.com
audio-generationmusic-generationsound-effectsopen-sourcemeta-aitext-to-audiomachine-learningpython

AudioCraft

AudioCraft is Meta AI's open-source framework unifying MusicGen, AudioGen, and EnCodec for text-to-audio generation, offering a complete pipeline for generative audio research and production.

intermediate30-60 minutes3 steps
The play
  1. Install AudioCraft
    Clone the AudioCraft repository and install the necessary dependencies. It's recommended to use a virtual environment.
  2. Download Pre-trained Models
    Download the pre-trained models for MusicGen or AudioGen. Choose the appropriate model based on your desired output (music or sound effects).
  3. Generate Audio from Text
    Use the command-line interface or Python API to generate audio from a text prompt. Specify the model you downloaded and the desired output file.
Starter code
Start by exploring the pre-trained models and example scripts provided in the AudioCraft repository. Experiment with different text prompts to understand the capabilities of each model.
Source
AudioCraft — Action Pack