Skip to content

AI-powered Procedural Music Generator plugin for Unreal Engine 5 - Generate royalty-free adaptive music in real-time

License

Notifications You must be signed in to change notification settings

subc0der/ue5-pmg

Repository files navigation

UE5-PMG: Procedural Music Generator for Unreal Engine 5

License UE5 Marketplace

AI-powered procedural music generation directly in Unreal Engine 5. Generate royalty-free, adaptive soundtracks without leaving the editor.

Features

  • 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

Quick Start

Prerequisites

  • Unreal Engine 5.3+
  • 16GB RAM minimum
  • GPU with 8GB+ VRAM (recommended)
  • 5GB free disk space

Installation

  1. Clone the repository:
git clone https://github.com/subc0der/ue5-pmg.git
  1. Copy to your project's Plugins folder:
cp -r ue5-pmg /YourProject/Plugins/
  1. Download model files:
cd Plugins/UE5-PMG/ML
python scripts/download_models.py
  1. Rebuild your project

Documentation

Usage Examples

Blueprint

// Simple music generation
Generate Music Simple
  Prompt: "Epic battle music"
  Duration: 30.0
→ Sound Wave

C++

USoundWave* Music = UPMGBlueprintLibrary::GenerateMusic(
    World, 
    "Peaceful ambient forest", 
    60.0f
);

Contributing

Contributions are welcome! Please read our Contributing Guide.

License

This project is licensed under the MIT License - see the LICENSE file.

Acknowledgments

  • AudioCraft team for MusicGen
  • Unreal Engine community
  • Contributors and testers

Support

About

AI-powered Procedural Music Generator plugin for Unreal Engine 5 - Generate royalty-free adaptive music in real-time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published