audiocraft-audio-generation

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

Updated May 16, 2026
One-click install
npx skills add https://github.com/jaredcroxton/hermes-mirror --skill audiocraft-audio-generation-jaredcroxton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/jaredcroxton/hermes-mirror/tree/main/agents/skills/mlops/models/audiocraft
Command: npx skills add https://github.com/jaredcroxton/hermes-mirror --skill audiocraft-audio-generation-jaredcroxton

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

AudioCraft turns natural-language prompts into audio—so you can create text-to-music, text-to-sound effects, and codec-based audio reconstruction without manually composing or searching for samples.

Core Features & Use Cases

  • Text-to-Music with MusicGen: Generate short to mid-length tracks from descriptions, including melody-conditioned variants and stereo models.
  • Text-to-Sound with AudioGen: Create environment and sound-effect clips directly from text.
  • High-fidelity coding with EnCodec: Encode and decode audio using neural compression for controllable processing pipelines.
  • Use Case: Build a campaign where each product feature becomes a distinct generated audio cue (e.g., “light, playful synth jingle” and “subtle UI sound design clicks”) and export WAV files for integration.

Quick Start

Install AudioCraft, load a pretrained MusicGen or AudioGen model, generate audio from your text prompts, and save the resulting waveform as a WAV file for immediate use.

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

To generate music from text prompts using AudioCraft, install the audiocraft package, load a pretrained MusicGen model, provide your text description, and save the resulting waveform as a WAV file for immediate use.

Can I create sound effects from text descriptions with AudioGen?

Yes, you can create sound effects from text descriptions with AudioGen. It generates environment and sound-effect clips directly from natural-language prompts, allowing you to produce custom audio cues without searching for samples.

Does AudioCraft require specific versions of PyTorch or Transformers?

AudioCraft requires installing compatible versions of PyTorch and Transformers, specifically torch>=2.0.0 and transformers>=4.30.0, along with torchaudio, to ensure the neural codec and text-to-audio generation models function correctly.

What is the best way to encode and decode audio using a neural codec?

The best way to encode and decode audio using a neural codec is utilizing AudioCraft's EnCodec workflows. EnCodec provides high-fidelity neural compression for encoding and decoding audio, enabling controllable processing pipelines.

Does MusicGen support melody conditioning and stereo output?

Yes, MusicGen supports melody conditioning and stereo output. You can generate short to mid-length tracks from text descriptions, including melody-conditioned variants and stereo models for richer audio generation.