Commands, package names, and image names on this page come from the open-source project that Mibyan Desktop is built on, and can differ from the Mibyan Desktop installer. For the supported Mibyan install and update path, see Install and update.
Skill metadata
Reference: full SKILL.md
The following is the complete skill definition that Mibyan loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
AudioCraft: Audio Generation
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
- 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
- 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
Basic text-to-music (AudioCraft)
Using HuggingFace Transformers
Text-to-sound with AudioGen
Core concepts
Architecture overview
Model variants
Generation parameters
MusicGen usage
Text-to-music generation
Melody-conditioned generation
Stereo generation
Audio continuation
MusicGen-Style usage
Style-conditioned generation
Style-only generation (no text)
AudioGen usage
Sound effect generation
EnCodec usage
Audio compression
Common workflows
Workflow 1: Music generation pipeline
Workflow 2: Sound design batch processing
Workflow 3: Gradio demo
Performance optimization
Memory optimization
Batch processing efficiency
GPU memory requirements
Common issues
References
- Advanced Usage - Training, fine-tuning, deployment
- Troubleshooting - Common issues and solutions
Resources
- GitHub: https://github.com/facebookresearch/audiocraft
- Paper (MusicGen): https://arxiv.org/abs/2306.05284
- Paper (AudioGen): https://arxiv.org/abs/2209.15352
- HuggingFace: https://huggingface.co/facebook/musicgen-small
- Demo: https://huggingface.co/spaces/facebook/MusicGen

