Beat Detection

🎵 Beat Detection for Unity – Make Your Game React to Music


Turn any audio into pure energy for your game. Beat Detection analyzes music in real time from an AudioSource or microphone and triggers events you can use for animations, visual effects, gameplay, and more.

Updated for Unity 2022 and above
Tested and optimized on Unity 2017, 2018, and later versions
Mobile-ready and efficient for multiple audio sources
PlayMaker integration and third-party friendly
Full C# source code included, clean and documented


🚀 Key Features

  • 🎶 Realtime beat detection
  • 📱 Mobile friendly
  • 🎤 Works with AudioSource and microphone
  • 🔗 Event-driven system for easy integration
  • 🧩 Seamless PlayMaker support
  • 📘 Complete documentation
  • 🧪 Multiple demo scenes for mic input, audio, mobile, and more

🧠 Detection Modes

Two powerful algorithms you can combine for total control:

  • Energy Mode – Detects beats by analyzing volume changes.
  • Frequency Mode – Spectrum analysis (FFT) detects low (kick), mid (snare), and high (hi-hat) beats.
  • Both – Merge both methods for ultimate precision.

⚡ Performance and Flexibility

  • High performance, even on mobile devices.
  • Run multiple scripts in parallel to control different audio sources.
  • Perfect for rhythm games, music visualizers, dynamic VFX, and immersive experiences.

🎧 Turn music into gameplay. Make your games pulse with every beat.