add functions for playing wav files