AI-powered procedural music generation directly in Unreal Engine 5. Generate royalty-free, adaptive soundtracks without leaving the editor.
- Text-to-Music Generation - Describe your music in words
- Real-time Adaptation - Music responds to gameplay
- Stem Separation - Mix individual instrument layers
- Local Inference - No internet required
- Easy Integration - Blueprint & C++ support
- Unreal Engine 5.3+
- 16GB RAM minimum
- GPU with 8GB+ VRAM (recommended)
- 5GB free disk space
- Clone the repository:
git clone https://github.com/subc0der/ue5-pmg.git- Copy to your project's Plugins folder:
cp -r ue5-pmg /YourProject/Plugins/- Download model files:
cd Plugins/UE5-PMG/ML
python scripts/download_models.py- Rebuild your project
// Simple music generation
Generate Music Simple
Prompt: "Epic battle music"
Duration: 30.0
→ Sound WaveUSoundWave* Music = UPMGBlueprintLibrary::GenerateMusic(
World,
"Peaceful ambient forest",
60.0f
);Contributions are welcome! Please read our Contributing Guide.
This project is licensed under the MIT License - see the LICENSE file.
- AudioCraft team for MusicGen
- Unreal Engine community
- Contributors and testers