I have found some answers couldn't understand.
How to draw waveform of Android's music player?
Android 2.3 Visualizer - Trouble understanding getFft()
Found 4 libraries but all are outdated as well buggy when I tried on my phone:
https://stackoverflow.com/a/37688330/6737655
Is there any new library or explanation on how to do it? Thanks in advance