I found ffmpeg library pretty good for converting from mp3 to wav. I'm using this library to convert:
https://github.com/WritingMinds/ffmpeg-android-java
Then I want to do this steps:
- determinate songs tempo
- convert it into wav
- slice the song into segments according to bpm: for example per bar or per 1/2 note.
I haven't found any command that I can determinate bpm. Maybe you guys know if ffmpeg can actually do it, or advice another library that can handle this problem