In this challenge, you will add playback speed control to BeatBox to greatly expand the user’s repertoire of possible sounds (Figure 20.8). Within MainActivity, wire up a SeekBar to control the rate value SoundPool’s play(Int, Float, Float, Int, Int, Float) function accepts.
To make this happen, check out the docs at developer.android.com/reference/android/widget/SeekBar.html.