-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
demo_bpm_extract.py consistently oversamples bpm by +2 #366
Comments
There is also |
Thanks for the suggestion! I'm happy to know aubio has a method for bpm, would far prefer to use what you suggest to this other script... Why isn't it anywhere in the docs though? https://aubio.org/manual/latest/py_analysis.html?highlight=tempo#aubio.tempo I can't find get_bpm anywhere... |
I found the method by printing dir( aubio.tempo() ). But it shows only half of the expected BMPs for techno music. Some other music works well. I think it could be a band issue, therefore I would like to filter out unwanted frequency ranges, so I would get only samples for the bass or the high hats. It might not be the right topic here, but maybe someone is reading this... any hints welcome. |
That approach sounds pretty legit! I'd be curious to know how it improves results... There's def a lot of dance music out there with crazy mids that confuse bpm readers.. With some bpm detection algorithms, you can set upper and lower bounds, which sometimes forces the analyzer to read say 140 instead of 70. This is what happens for me in foobar2000 with https://github.com/stengerh/foo_bpm I'll try out get_bpm then and follow up here |
I just got back to this today. I wasn't able to access the get_bpm method from python. Too difficult! It wasn't obvious to me how to create a "tempo" object (https://aubio.org/manual/latest/py_analysis.html) and access the bpm that way... It was easier for me to use the shell command "aubio tempo songname", so I integrated it into my script that way. Results for house music are pretty accurate! Much moreso than what I got when using https://github.com/aubio/aubio/blob/master/python/demos/demo_bpm_extract.py Tracks with BPMs under 100 don't do well though. |
the bpm returned in this function (https://github.com/aubio/aubio/blob/master/python/demos/demo_bpm_extract.py) is consistently +2 bpm above what it should be (I have determined this with hundreds of music files using other bpm detection algorithms and tap notation)
@piem I would appreciate assistance in figuring out what in this function is giving this result and whether it can be fixed!
thanks!
The text was updated successfully, but these errors were encountered: