add a duration method to Soundfile