audiocraft-audio-generation

Generate music and sound effects from text using AudioCraft.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/hochoa13/Asistente-Harlest --skill audiocraft-audio-generation-hochoa13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/hochoa13/Asistente-Harlest/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/hochoa13/Asistente-Harlest --skill audiocraft-audio-generation-hochoa13

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires audiocraft, torch, transformers, scipy, librosa, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the need for quick and easy generation of music and sound effects directly from text descriptions, eliminating the requirement for musical expertise or complex audio editing software.

Core Features & Use Cases

  • Text-to-Music Generation: Create original music pieces based on descriptive text prompts (e.g., "happy upbeat electronic dance music with synths").
  • Text-to-Sound Effects: Generate realistic sound effects for various applications (e.g., "dog barking in a park with birds chirping").
  • Melody Conditioning: Generate music that follows a specific provided melody.
  • Stereo Audio Output: Produce music with stereo sound.
  • Use Case: A game developer needs a unique sound effect for a magical spell. They can use this Skill to generate "sparkling magical chime sound" and get an audio file instantly.

Quick Start

Use the audiocraft-audio-generation skill to generate a 10-second clip of "a calming ambient electronic track".

Frequently Asked Questions about audiocraft-audio-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate music from text prompts?

To generate music from text, you use the AudioCraft library with MusicGen models to process natural language descriptions and output original audio tracks. You can create pieces by providing descriptive prompts like "happy upbeat electronic dance music".

Can I generate sound effects from text using AudioGen?

Yes, you can generate sound effects from text using AudioGen models within the AudioCraft library. This allows you to create realistic audio like "dog barking in a park" without needing complex audio editing software or manual recording.

Do I need PyTorch to run text-to-music generation?

Yes, you need PyTorch, torchaudio, and transformers installed to run text-to-music generation. These dependencies are required to operate the AudioCraft models that process your text prompts and produce the resulting audio output.

What's the best way to create audio that follows a specific melody?

The best way to create audio that follows a specific melody is to use the melody conditioning feature in AudioCraft. This allows the MusicGen model to generate music that adheres to a specific provided melody structure.

How do I produce stereo audio output from text descriptions?

You can produce stereo audio output from text descriptions by utilizing the stereo output options available in the AudioCraft library. This feature enhances the generated music or sound effects by providing multi-channel depth.

What are the limitations of using AudioCraft for audio generation?

AudioCraft audio generation requires significant computational resources due to its reliance on PyTorch and transformer models. It is designed for generating audio from text descriptions and does not perform audio editing or mixing tasks directly.