Unity-Beat-Detection icon indicating copy to clipboard operation
Unity-Beat-Detection copied to clipboard

Different results

Open david-gherghita opened this issue 10 years ago • 1 comments
trafficstars

Hi! I want to use your script to instantiate gameObjects on the music rhythm. But each time I play the level I get different times (Time.time results) when the beat is detected (and they even differ with a whole second, not hundreads of a second, cause that wouldn't be a problem) even if the music remains the same. I have no idea how your script works so I'm asking if there is an easy fix or if I'm doing something wrong. Thanks.

david-gherghita avatar Oct 10 '15 10:10 david-gherghita

His script does runtime detection, not preprocessing. This means your PC timers, memory available and other variables influence when the music thread begins and when the detector starts its detections. There will be a lag between each beat and its detection.

lucasmontec avatar Jan 12 '20 17:01 lucasmontec