c++ FFT Beat detection library?

人走茶凉 提交于 2019-11-30 05:15:07

问题


I am currently looking around for a good allround beat detection library / source code in C++ since I found it really hard to achieve satisfying results with the beat detection code I wrote myself using this tutorial: http://www.gamedev.net/reference/programming/features/beatdetection/

It's especially really hard if you want to make it work with any kind of music so I was wondering if there is something usable out there allready?

Thanks!


回答1:


You could try Aubio: http://aubio.org/

It does not seem to work (at least for me, today) in windows, but it does work in OS/X




回答2:


Look at the Vamp Plugin system and its available plugins ( http://vamp-plugins.org/ ).

(from the website) Vamp is an audio processing plugin system for plugins that extract descriptive information from audio data

The QM Plugin set seems especially relevant ( http://vamp-plugins.org/plugin-doc/qm-vamp-plugins.html ).




回答3:


Ah, Vamp. If only the interesting ones worked real-time.

user240137, I don't know if you're really all that into "accepting answers", but after looking into Vamp I found Aubio (aubio.org) and have found it easier to hack its functions into my projects to do real-time work (if that's what you're after).

Last: if you really want to handle your own FFT, use kissFFT as an easier alternative to FFTW.




回答4:


OnsetsDS - real time musical onset detection C/C++ library http://onsetsds.sourceforge.net/




回答5:


I may be missing something but I can't see why you can't use the GNU Scientific Library's FFT routine (or any other like those included in BOOST)?



来源:https://stackoverflow.com/questions/2261081/c-fft-beat-detection-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!