Today I learned that beat detection (from a music file) may possibly be doable, even for me.
Why would I need it though, I don’t plan on doing anything complex? Well, it’d work great for the juicy menu I had in mind for Panic Attack. Instead of hard-coding the BPM and using that to generate a “bobbing” effect, I can just detect beats as they happen, and animate accordingly. This’ll allow me to switch background menu songs easily, or even have it pick a random one to play!
And hey, if I get it working properly, I may as well try to make a few small games with it. Not sure on what to do with it yet, I want to keep my implementation simple, so it won’t be very accurate (that means no mini-Guitar Hero for you!), but it might still be cool to use in background animations, or the spawning of enemies or something. Endless possibilities, as usual. Gamedev is cool!
Of course there’s the whole “I learn something from it” aspect, too. If I recall correctly, LÖVE has some functions that can get audio samples for me. If those don’t work, I may just try to write my own sampler though. It’ll get a lot more low-level from there on out I think, but it may be a good experience. Afraid I’ll have to dive too deep for my likings though, but we’ll see when we get there.
For now, weekend’s started, and I think it’s about time I get to studying. Too bad I got parties tonight, and tomorrow night too.