This example shows how you can change the playback rate of an audio player.
Prior to changing the rate you’ll need to enable the player to have a different rate.
player.enableRate = true
player.rate = 0.25
let audioPlayer = AudioPlayer("C4Loop.aif")!
override func setup() {
audioPlayer.enableRate = true
audioPlayer.rate = 0.25
audioPlayer.play()
}