much work
works through to saving wav
version