solved the sound problem by changing to AVAudioPlayer