audiocraft-audio-generation

Generate music and sound effects from text using AudioCraft.

2|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/zhuangbiaowei/smart_bot --skill audiocraft-audio-generation-zhuangbiaowei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/zhuangbiaowei/smart_bot/tree/main/skills/audiocraft
Command: npx skills add https://github.com/zhuangbiaowei/smart_bot --skill audiocraft-audio-generation-zhuangbiaowei

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of music and sound effects directly from textual descriptions, eliminating the need for manual audio production or complex software.

Core Features & Use Cases

  • Text-to-Music Generation: Create original music tracks based on descriptive prompts (e.g., "happy upbeat electronic dance music").
  • Text-to-Sound Effects: Generate realistic sound effects (e.g., "dog barking in a park").
  • Melody Conditioning: Generate music that follows a specific melodic input.
  • Use Case: A game developer needs custom sound effects for a new level. They can use this Skill to generate unique sounds like "footsteps on gravel" or "a dragon's roar" simply by describing them.

Quick Start

Use the audiocraft skill to generate a 10-second clip of "epic orchestral music".

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 descriptions?

Generate sound effects from text by describing the desired audio to the text-to-sound functionality, which leverages AudioGen to create realistic sounds. This eliminates the need for manual audio production or complex software.

Can I use a melody to condition music generation?

Yes, you can generate stereo audio output using the AudioCraft library. The audio generation process supports stereo output alongside text-to-music and text-to-sound functionalities for richer audio content creation.

Do I need PyTorch and torchaudio for audio generation?

AudioCraft generates audio content including music and sound effects from text descriptions. It supports text-to-music and text-to-sound functionalities, allowing you to create custom audio by simply typing prompts like happy upbeat electronic dance music.

How do I generate sound effects from text?

Generate sound effects from text by describing the desired audio to the text-to-sound functionality, which leverages AudioGen to create realistic sounds. This eliminates the need for manual audio production or complex software.

Can I use a melody to condition music generation?

Condition music generation using a specific melodic input through the melody conditioning feature. This allows the generated music to follow your provided melody while utilizing the AudioCraft library and PyTorch for processing.