processing wave file data