audiocraft-audio-generation

Generate WAV music or sound effects from text prompts using Meta AudioCraft.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/box755/simlens-research --skill audiocraft-audio-generation-box755
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audiocraft-audio-generation
Source: https://github.com/box755/simlens-research/tree/main/skill-packs/AI-Research-SKILLs/18-multimodal/audiocraft
Command: npx skills add https://github.com/box755/simlens-research --skill audiocraft-audio-generation-box755

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Audio generation from text prompts is often slow to prototype and difficult to get high-quality, controllable results, so users need a practical way to turn descriptions into playable audio.

Core Features & Use Cases

  • Text-to-music (MusicGen): Create music from prompts, including variants for stereo output and melody-conditioned generation.
  • Text-to-sound effects (AudioGen): Produce short sound effects like weather, crowds, or mechanical noises from descriptions.
  • Neural audio codec (EnCodec): Encode/decode audio tokens to reconstruct higher-fidelity waveforms.
  • Use case: Build a demo that turns “upbeat electronic dance music with synths” into a WAV track, then iterate on prompts to improve quality and style.

Quick Start

Use the audiocraft skill to generate an 8-second WAV file from the prompt “happy upbeat electronic dance music with synths” and save it as output.wav.

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

Generate music from text prompts using PyTorch by configuring Meta AudioCraft transformer components to decode text descriptions into playable WAV audio files. You set generation parameters like duration and sampling controls to produce the desired music output.

Can I create sound effects from text descriptions for creative prototyping?

Create sound effects from text descriptions for creative prototyping using the AudioGen workflow within Meta AudioCraft. It produces short sound effects like weather, crowds, or mechanical noises by applying neural decoding to your text prompts.

What is melody-conditioned music generation and does AudioCraft support it?

Melody-conditioned music generation produces music tracks guided by an existing melody, and AudioCraft supports this variant alongside standard text-to-music and stereo music generation workflows for flexible creative production.

How do I configure duration and sampling controls for audio generation?

Configure duration and sampling controls for audio generation by adjusting the runtime generation parameters in Meta AudioCraft. These settings define the length of the output and the sampling rate of the resulting WAV audio file.

Does text-to-audio generation work with stereo output formats?

Text-to-audio generation supports stereo output formats through specific MusicGen variants designed for stereo music generation. These variants process your text prompts to produce higher-channel playable audio tracks.

What are the limitations of neural audio codec reconstruction?

Neural audio codec reconstruction limitations depend on the EnCodec component, which encodes and decodes audio tokens to reconstruct waveforms. While it aims for higher fidelity, results vary based on the input tokens and sampling rate configurations.