a demo of AVAudioPlayer written in Swift