audiocraft-audio-generation

Generate music and sound effects from text prompts using AudioCraft models.

19|4|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill audiocraft-audio-generation-carterwayneskhizeine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/carterwayneskhizeine/hermes-agent-windows-R/tree/main/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill audiocraft-audio-generation-carterwayneskhizeine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires audiocraft, torch>=2.0.0, transformers>=4.30.0, and includes references (resource) components.

What problem does it solve?

AudioCraft enables users to turn natural-language prompts into synthesized audio (music and sound effects), avoiding the need for manual composition or expensive studio production for early drafts and prototypes.

Core Features & Use Cases

  • Text-to-Music (MusicGen): Generate complete music tracks from textual descriptions, including melody-conditioned and stereo variants.
  • Text-to-Sound Effects (AudioGen): Produce short, prompt-driven sound effects such as environments, actions, and ambience.
  • Audio Codec Power (EnCodec): Compress and reconstruct audio representations to support higher-fidelity audio workflows, including advanced generation and processing pipelines.
  • Common Use Case: Prototype a soundtrack concept by generating several 10–30 second variations from prompts like “epic orchestral soundtrack with strings and brass,” then audition and iterate on style before committing to final production.
  • When to Use: You need fast iteration, flexible generation length, and practical controls such as duration, sampling diversity, and text adherence.

Quick Start

Request: “Generate 20 seconds of upbeat electronic dance music from this description: happy upbeat electronic dance music with synths, and save it as output.wav using AudioCraft MusicGen on my machine.”

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 and sound effects from text prompts?

To generate music and sound effects from text, provide a natural-language prompt specifying the desired audio style and duration. The system synthesizes a waveform matching your description and saves the output locally as a WAV file for immediate playback.

What's the best way to prototype a soundtrack using text-to-audio generation?

The best way to prototype a soundtrack is generating multiple 10 to 30 second audio variations from descriptive prompts. You can iterate on style and text adherence rapidly, auditioning each generated waveform before committing to final production.

Do I need PyTorch and Transformers to run AudioCraft audio synthesis?

Yes, you need PyTorch version 2.0.0 or higher and Transformers version 4.30.0 or higher to run AudioCraft audio synthesis. These dependencies provide the foundational machine learning framework required to load and execute the generation models.

Can I generate stereo and melody-conditioned audio tracks with MusicGen?

Yes, you can generate stereo and melody-conditioned audio tracks with MusicGen. The model supports multiple variants, allowing you to condition music generation on an existing melody or output in stereo format for enhanced spatial depth.

What are the limitations of using EnCodec for audio workflows?

EnCodec focuses on compressing and reconstructing audio representations rather than direct generation. While it supports higher-fidelity audio pipelines, you must use MusicGen or AudioGen separately to handle the actual text-to-audio synthesis process.