Tried to get wav files output working but it's hard