wav decode without popen