generate pcm wav file: modify print info to stdout