Move utilities out of FilePlayer into sound.Util