added and tested soundfile function, added alert if no soundfile