add functions to SoundPlayer