preliminary support for wav header