audiocraft-audio-generation

Generate music and sound effects from text using AudioCraft.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/MesferAli/XCircle --skill audiocraft-audio-generation-mesferali
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/MesferAli/XCircle/tree/main/.claude/skills/audiocraft
Command: npx skills add https://github.com/MesferAli/XCircle --skill audiocraft-audio-generation-mesferali

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables the creation of original music and sound effects directly from text descriptions, removing the need for extensive audio production expertise or complex software.

Core Features & Use Cases

  • Text-to-Music Generation: Create music in various genres and styles based on descriptive prompts (e.g., "happy upbeat electronic dance music").
  • Text-to-Sound Effects: Generate realistic sound effects for games, videos, or other media (e.g., "dog barking in a park").
  • Melody Conditioning: Generate music that follows a specific melodic input.
  • Use Case: A game developer needs custom background music and sound effects for a new level. They can use this Skill to generate unique audio assets by simply describing the desired mood, genre, and sounds.

Quick Start

Use the audiocraft skill to generate a 15-second clip of "epic orchestral music with strings and brass".

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 using AudioCraft?

To generate music from text descriptions, you use the AudioCraft library's MusicGen model to process descriptive prompts and synthesize original audio tracks. This Skill handles the prompt parsing and model execution to output your requested audio clips.

Can I generate realistic sound effects for video games with text-to-audio?

Yes, text-to-audio generation with AudioCraft's AudioGen model creates realistic sound effects for media like games. You simply provide a descriptive text prompt such as "dog barking in a park" to generate the corresponding audio asset.

Does AudioCraft support melody conditioning for music generation?

AudioCraft supports melody conditioning to generate music that follows a specific melodic input. This feature allows you to guide the structural composition of the generated audio by providing an existing melodic sequence alongside your text prompt.

Do I need PyTorch and transformers installed to use AudioGen?

Yes, you need PyTorch, transformers, torchaudio, and scipy installed in your environment to use AudioGen. These dependencies provide the necessary tensor operations and model loading capabilities required by the AudioCraft library.

What is the best way to create stereo audio output from text prompts?

The best way to create stereo audio output from text prompts is using the AudioCraft library's built-in stereo generation feature. This Skill leverages MusicGen to synthesize multi-channel audio directly from your descriptive text inputs.

Are there limitations when generating long audio clips with MusicGen?

MusicGen is optimized for generating short audio clips, such as 15-second segments based on text prompts. While suitable for game assets and background loops, generating extended musical compositions may require stitching multiple output clips together.