audiocraft-audio-generation
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen).
Skill by vadimcomanescu
Chalk Labs
Need help deploying audiocraft-audio-generation?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vadimcomanescu-audiocraft-audio-generation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
audiocraft-audio-generation- Description
- PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen). Use when you need to generate music from text descriptions, create sound effects, or perform melody-conditioned music generation.
- License
- MIT
- Instructions
- 557 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 557 lines (spec recommends under 500)
- files: referenced but missing: references/advanced-usage.md, references/troubleshooting.md
Files (2)
- LICENSE.txt
- SKILL.md
SKILL.md (first lines)
# AudioCraft: Audio Generation
Comprehensive guide to using Meta's AudioCraft for text-to-music and text-to-audio generation with MusicGen, AudioGen, and EnCodec.
## When to use AudioCraft
**Use AudioCraft when:**
- Need to generate music from text descriptions
- Creating sound effects and environmental audio
- Building music generation applications
- Need melody-conditioned music generation
- Want stereo audio output
- Require controllable music generation with style transfer
**Key features:**
- **MusicGen**: Text-to-music generation with melody conditioning
- **AudioGen**: Text-to-sound effects generation
- **EnCodec**: High-fidelity neural audio codec
- **Multiple model sizes**: Small (300M) to Large (3.3B)
- **Stereo support**: Full stereo audio generation
- **Style conditioning**: MusicGen-Style for reference-based generation
**Use alternatives instead:**
- **Stable Audio**: For longer commercial music generation
- **Bark**: For text-to-speech with music/sound effects
- **Riffusion**: For spectogram-based music generation
- **OpenAI Jukebox**: For raw audio generation with lyrics
## Quick start
### Installation
```bash
# From PyPI
pip install audiocraft
# From GitHub (latest)
pip install git+https://github.com/facebookresearch/audiocraft.git
# Or use HuggingFace Transformers
pip install transformers torch torchaudio
```
### Basic text-to-music (AudioCraft)
```python
import torchaudio
from audiocraft.models import MusicGen
# Load model
model = MusicGen.get_pretrained('facebook/musicgen-small')
# Set generation parameters
model.set_generation_params(
duration=8, # seconds
top_k=250,
temperature=1.0
)
# Generate from text
descriptions = ["happy upbeat electronic dance music with synths"]
wav = model.generate(descriptions)
# Save audio
torchaudio.save("output.wav", wav[0].cpu(), sample_rate=32000)
```
### Using HuggingFace Transformers
```python
from transformers import AutoProcessor, MusicgenForConditionalGeneration
import scipy
# Load model and processor
processor = AutoProcessor.from_pretrained("facebook/musicgen-small")
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
model.to("cuda")
# Generate music
inputs = processor(
text=["80s pop track with bassy drums and synth"],
padding=True,
return_tensors="pt"
).to("cuda")
audio_values = model.generate(
**inputs,
do_sample=True,
guidance_scale=3,
max_new_tokens=256
)
# Save
sampling_rate = model.config.audio_encoder.sampling_rate
scipy.io.wavfile.write("output.wav", rate=sampling_rate, data=audio_values[0, 0].cpu().numpy())
```
### Text-to-sound with AudioGen
```python
from audiocraft.models import AudioGen
# Load AudioGen
model = AudioGen.get_pretrained('facebook/audiogen-medium')
model.set_generation_params(duration=5)
# Generate sound effects
descriptions = ["dog barking in a park with birds chirping"]
wav = model.generate(descriptions)
torchaudio.save("sound.wav", wav[0].cpu(), sample_rate=16000)
```
## Core concepts
### Architecture overviewFrom vadimcomanescu/codex-skills, MIT.
More from vadimcomanescu/codex-skills
- 0.495score
senior-backend
vadimcomanescu
Backend engineering workflows for designing and implementing robust APIs and services: data modeling, authN/authZ, error handling, performance, migrations…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-devops
vadimcomanescu
DevOps workflow for CI/CD, infrastructure, observability, reliability, and safe deployments.
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
webapp-testing
vadimcomanescu
Local webapp testing workflow using Python + Playwright: start servers, explore DOM, take screenshots, capture console logs, and verify user flows.
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-architect
vadimcomanescu
Senior software architecture workflows and tooling for system design, scalability and reliability planning, API/data modeling, trade-off analysis, ADR…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
react-best-practices
vadimcomanescu
React and Next.js performance optimization guidelines from Vercel Engineering.
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-computer-vision
vadimcomanescu
Computer vision engineering workflow for dataset design, model selection (detection/segmentation/classification), evaluation, inference optimization, and…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-data-engineer
vadimcomanescu
Data engineering workflows for designing reliable pipelines and datasets: ingestion, transforms, orchestration, schema evolution, data contracts, quality…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-data-scientist
vadimcomanescu
Data science workflow for turning ambiguous questions into measurable metrics, experiments, and models.
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
xlsx
vadimcomanescu
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization.
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
information-architect
vadimcomanescu
World-class information architecture workflows for product and design teams: define navigation, taxonomy, labeling, content models, and page hierarchy so…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-prompt-engineer
vadimcomanescu
Prompt engineering workflow for building reliable assistants and agents: task decomposition, instruction hierarchy, tool-use patterns, safety constraints, and…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
code-reviewer
vadimcomanescu
High-signal code review workflow for pull requests and patches: correctness, readability, API/UX, performance, security, and maintainability.
SkillDFreshness: D★ 25Claude Code +9
Signals
- Stars
- 25
- Forks
- 8
- Open issues
- 2
- Last commit (this folder)
- Jan 19, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/vadimcomanescu/codex-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.672score
audiocraft-audio-generation
Orchestra-Research
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen).
SkillCFreshness: C★ 13.9KClaude Code +9 - 0.311score
audiocraft-audio-generation
Tommy-yw
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen).
SkillCFreshness: C★ 510Claude Code +9 - 0.288score
audiocraft-audio-generation
AvaTar-ArTs
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen).
SkillBFreshness: BClaude Code +9 - 0.254score
audiocraft-audio-generation
zhuangbiaowei
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen).
SkillDFreshness: D★ 1Claude Code +9 - 0.241score
audiocraft-audio-generation
future1314
PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen).
SkillDFreshness: DClaude Code +9
More from vadimcomanescu
- 0.495score
senior-data-engineer
vadimcomanescu
Data engineering workflows for designing reliable pipelines and datasets: ingestion, transforms, orchestration, schema evolution, data contracts, quality…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-data-scientist
vadimcomanescu
Data science workflow for turning ambiguous questions into measurable metrics, experiments, and models.
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
webapp-testing
vadimcomanescu
Local webapp testing workflow using Python + Playwright: start servers, explore DOM, take screenshots, capture console logs, and verify user flows.
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-computer-vision
vadimcomanescu
Computer vision engineering workflow for dataset design, model selection (detection/segmentation/classification), evaluation, inference optimization, and…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
senior-prompt-engineer
vadimcomanescu
Prompt engineering workflow for building reliable assistants and agents: task decomposition, instruction hierarchy, tool-use patterns, safety constraints, and…
SkillDFreshness: D★ 25Claude Code +9 - 0.495score
information-architect
vadimcomanescu
World-class information architecture workflows for product and design teams: define navigation, taxonomy, labeling, content models, and page hierarchy so…
SkillDFreshness: D★ 25Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get audiocraft-audio-generation running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
audiocraft-audio-generation skill. Agent Mart. https://agentmart.dev/skills/vadimcomanescu-audiocraft-audio-generation (last updated 2026-10-24)