AVAudioPlayer class processing sample by Swift.