[LAD] soundtouch how to BPMDetect
Robin Gareus
robin at gareus.org
Sun Oct 7 18:43:04 UTC 2012
On 10/06/2012 08:19 PM, Alfs Kurmis wrote:
> Hi developers and experts.
> I wanna write my small C program (in worst case C++) to gotta BPM from my audio
> tracks.
> Also time(sample) position of first and last beat.
> Can i do it by using #include <soundtouch/BPMDetect.h> ,or is here better
> libs/programs for this purpose ?
> Which soundtouch/BPMDetect.h functions() must be called to gotta BPM
> and position of first and last beat ?
> How should this program be compiled ?
> Any C examples (in worst case C++) welcomed.
> Tnx in advance @all developers and experts.
> Alfs Kurmis
look into http://aubio.org/ it's a c library and comes with tools to
detect beats and onset.
There's also a http://www.vamp-plugins.org/ wrapper for it:
vamp-simple-host -s vamp-aubio:aubiotempo:beats sound.wav
HTH,
robin
More information about the Linux-audio-dev
mailing list