MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.86k stars 534 forks source link

RhythmExtractor2013 ticks doesn't accurately provide the information of when the first beat occurs #1386

Open jumeca opened 1 year ago

jumeca commented 1 year ago

I'm using RhythmExtractor2013 degara algorithm to analyse a song and get the ticks and bpm in order to autosync a song with another song playing. I thought that ticks[0] will give me the time when the first beat occurs. However, this song I'm using has some silence at the beginning and the ticks[0] is definitely not where the first beat occurs. Am I misunderstanding something?

dbogdanov commented 1 year ago

Thank you for reporting. This algorithm is based on a probabilistic model, and this issue can happen. If you have a specific audio example that you can share, this would help reproduce it and possibly improve the algorithm in the future.

jumeca commented 1 year ago

Thank you for your response. This is the audio file: https://drive.google.com/file/d/1C0UBsvIBNwBDLeU5wLYMq2EOWeM4i1zC/view?usp=sharing