trying to implement wav -> wav conversion