Closed david-res closed 2 months ago
Wanted to update on my issue I threw the track into MIxxx and used the Queen Mary dsp for bpm detection - it also returned 144 ish beats per min I then saw that you you can divide by 2/3 - which is 96.3 bpm
So I can confidently say this is actually working as expected
I came across your (AMAZING) library just a few hours ago, and adapted it to work on a Teensy 4.1 for the purpose of doing pre analysis before playing an audio track.
I'm looking to extract the BPM as well as construct a beat grid and bar grid as well (hopefully) But first off starting with some simple test to make sure the BPM is right: Tested some house music, feeding 30 to 60 seconds wort of audio in a loop - was spot on at 126.05 bpm But when testing some hip hop/rap music (three 6 mafia - poppin my collar) it was showing me a bpm of 144.56 where is should actually be around 97bpm
Im running on a Teensy 4.1 and here is my current test sketch: `#include "BTT.h"
include "SD.h"
//const char filename = "ATMOSPHERE.wav"; const char filename = "36M_COLLAR.wav";
const int BUFFER_SIZE = 64; float audioBuffer[BUFFER_SIZE]; BTT * beatTracker; //our object for everything uint32_t startTime, endTime; File audioFile;
void setup() { // put your setup code here, to run once: // Initialize serial communication for debugging (optional) Serial.begin(9600); while (!Serial); // Wait for Serial monitor to open
}
void loop() { // put your main code here, to run repeatedly:
} `
Would appreciate your input and assistance