23rd November 2001 20:39 UTC
Responding to music - the basics?
Heya...
First off, I'm not developing for Winamp, but this seemed an obvious place to start - let me know if there's somewhere better this should be.
I want to create a C++ app that reacts to music - beats, frequencies, amplitudes etc. File format isn't important - I have a soft-spot for .ogg, but I guess pure wave format would be easier to work with. It doesn't even have to be in realtime (though it's obviously a bonus if it doesn't take 4 days to calculate a single song)
So...has anyone got any suggestions on how to go about this? How can I pick out beats in music? Fourier transform would be the obvious way to go about finding frequencies, but this doesn't give frequencies at a specific point in time. Or do you just FT the previous 0.5 seconds of a song?
Any hints, tips, resources?
Thanks
Cat.