This is AVAudioPlayer class processing sample by Swift.