Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About detecting every beat for music game #4

Open
MichelleShieh opened this issue Jan 30, 2016 · 1 comment
Open

About detecting every beat for music game #4

MichelleShieh opened this issue Jan 30, 2016 · 1 comment

Comments

@MichelleShieh
Copy link

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.

@cjcliffe
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants