Audio BPM Detection?

Morning everyone!

I’m a computer music student working on my undergraduate thesis project with Dr. Boulanger at Berklee College of Music and thought I’d reach out for some advice from the Csound and Cabbage communities.

Has anyone had any experience with audio file BPM Detection in Csound? I’m looking for any instruments, opcodes, suggestions, etc. to explore in terms of creating an element of a patch that analyzes BPM from a given audio file input. Ideally, I would be working towards something that can analyze BPM and quantize audio to fit a grid which could then be manipulated like can be done in Ableton Live or Zulu DJ Software.

Thanks in advance!

Just incase others come here looking for a solution: