Requires Unity 4.3.0 or higher.
Beat Detection
Unity 5 support addded!
New sample scene which uses mic input to detect beats!
Supports Unity and Unity Pro.
Mobile friendly!
Beat Detection Algorithm can detect the beats of any audio source in realtime by using frequency spectrum analysis (FFT), audio energy or both simultaneously.
You can use the script in your games or applications and make your applications react to the music. It is really easy to configure, simply add the script to the object with the audio source and choose the detection mode:
- Energy Mode: This mode will detect the beats analyzing the music volume changes. When a beat is detected a 'energy' code is returned.
-Frequency mode: This mode uses spectrum analysis and can detect three different beats, low (kick), medium (snare) and high (hit hat) beats.
-Both: Using both methods you can get a complete control on the beats of your music.
The code is high-performance and you can use it on mobile devices and even use several scripts simultaneously to control many audio sources.
Full source C# code included.
游客,本帖隐藏的内容需要积分高于 20 才可浏览,您当前积分为 0
|