So I was practicing making metronome in Android Studio(Java). I came across many method to start a indefinite loop with a task at fixed rate but all failed to keep up the rh