Doing planning on a graphics app that is meant to respond to EDM beats in real time. Is that code possible to write in Defold?
https://www.defold.com/community/projects/57125/ might be useful to you. Can you more fully describe what you want to do? Do you want to dynamically analyze audio playing?
You should know that Android still has very bad latency issues with audio (making music based games problematic) which is why there are so few music based games released on that platform and as a side effect on others as well.
The best way to do this, as I think:
Parse sound with some software to write JSON with beat times. And kick events in game when time is right.
I did a dance dance revolution esque game before, or step mania for those familiar. Then I did just this, parsed the equalizer externally and stored In Lua files for use later. I used the sound component to evaluate volume and visualize the beat, but since I could not forecast it was better with the preprocessing way for input.