AudioReactor
# 🎵 AudioReactor for Flax Engine Real-time audio visualization for Flax Engine.
Install / Use
/learn @holdulv-2nd/AudioReactorREADME
🎵 AudioReactor for Flax Engine
Real-time audio visualization for Flax Engine. This plugin analyzes audio frequencies using NAudio and syncs your game world (lights, cameras, UI, objects) to the beat.
✨ Features
- Plug & Play: Just drag it in, no C# knowledge required.
- Auto-Sync: Handles the complex math to sync game time with audio time.
- The "Safe House": Automatically manages raw .wav files in a
MusicDatafolder so Flax doesn't corrupt them. - Modular Reactors: Different scripts for different needs (Camera, UI, Objects, Lights).
📦 File Structure
Ensure your files are arranged like this: AudioReactor/ ├── AudioReactor.flaxproj ├── README.md └── Source/ ├── NAudio.dll ├── AudioReactorPlugin.cs ├── AudioReactor.Build.cs ├── RealTimePulse.cs (Lights & Materials) ├── AudioCameraReactor.cs (FOV, Sway, Shake) ├── AudioTransformReactor.cs (Scale, Spin, Jitter) └── AudioUIReactor.cs (UI Punch, Color)
🚀 How to Use
1. Setup
- Drag the
AudioReactorfolder into your project'sPlugins/folder. - Open your project. The plugin will activate automatically.
- Drag a
.wavfile into your Content window.- The plugin will silently copy a raw version to
MusicData/for analysis.
- The plugin will silently copy a raw version to
2. Available Reactors
💡 RealTimePulse (Lights & Materials)
Controls Point Lights and Emissive Materials.
- Rainbow Mode: Cycles through colors on the beat.
- PulsePower: Controls "snappiness." Higher = strobing.
- Usage: Drag your
PointLightorStaticModelinto the slots.
🎥 AudioCameraReactor (Cinematics)
Makes the camera dance to the music.
- ZoomPunch: Pulls the camera FOV in on bass hits.
- Handheld Sway: Adds a natural "breathing" motion.
- ShakeMultiplier: How violently the camera shakes on loud beats.
- Usage: Attach to your Scene Camera actor.
🧊 AudioTransformReactor (Objects)
Physical movement for meshes.
- Modes:
ScalePulse: Bounces like a speaker.SpinOnBeat: Rotates faster when music is loud.PositionJitter: Glitch effect.RandomTeleport: Chaos mode (use with caution!).
🖼️ AudioUIReactor (Interface)
Syncs UI elements.
- LogoPunch: Scales an image to the beat.
- RainbowText: Changes text color on beat.
- Usage: Attach to a UI Control (Label or Image).
Built with ❤️ by HoldulV Music using NAudio.
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR
