Remove truncate option
Implement wave file output