About detecting every beat for music game
Hi, I am wondering how could I use this brilliant algorithm to detect every beat for music game.
And about the test, I am not quite understand the meaning of three different testing range, which are defined as low, medium and high.
Thanks in advance for your help.
@MichelleShieh it's not really geared to detect each individual beat; however the bd_vu has an isKick() type function that will indicate whether it thinks there's currently a bass beat.
Otherwise it's just measuring the timing and giving you the most likely current BPM and a few counters to synchronize with.
BeatDetektor can only register BPM in the desired range N to (N*2)-1 so there's 3 ranges used in most examples:
bd_low = new BeatDetektor(48,95);
bd_med = new BeatDetektor(85,169);
bd_high = new BeatDetektor(150,280);
Each can only effectively work in the BPM ranges 48-95, 85-169, 150-280, they won't detect properly outside that range.