The answer to this question says that we can make a reliable and accurate metronome on Android using AudioTrack . We can use MediaPlayer , SoundPool , Thread and Timer , but they always cause a delay. Instead of generating synthesized sound using AudioTrack , how can we achieve the same effect with custom audio files?
java android
cw fei
source share