-fixed txt to data structure

works with both 1 channel and 2 channel wav files