I plan on experimenting a bit with beat detection/prediction and JUCE. For this I found B-Track (https://github.com/adamstark/BTrack), which looks promising, but I can’t get it to work with JUCE. Is there anyone who knows how I can get this to work?
I currently have fftw3 and samplerate set up as external libraries in the Projucer (obviously I have both installed as well) and added the B-Track source code to my project. The compiling succeeds, but whenever the fftw_execute is called, I get an EXC_BAD_ACCESS. I basically create the B-Track in the audioDeviceAboutToStart, after which I try to process the buffer in audioDeviceIOCallback. Could the multi-threaded nature of JUCE be a cause of this issue?
If there is anyone who has used a similar framework with JUCE, your experiences and suggestions are welcomed as well!