Javier Valcarce's Personal Website

WavUtil

From JavierValcarce.Eu

You are at: Home > DSP > WavUtil
Jump to: navigation, search
Summary
WavUtil.exe is a command-line utility that performs some operations on audio files like chage sample rate, raw \rightarrow wav / wav \rightarrow raw file format conversion, etc. It is like SoX but capable of a much more small range of operations. It's written in C#.

Usage

Some examples:

$ wavutil -h
Show help
$ wavutil -w --fmt=s08 --fs=8000 <xfile.raw> <yfile.wav>
Read signed 08-bit samples and write a *.wav file with a Fs=8kHz and 32-bit float sample format
$ wavutil -r --fmt=s16 <xfile.wav> <yfile.raw>
Read a *.wav file and writes signed 16-bit samples in a raw file (headerless). The sampling rate information is lost.
$ wavutil -s --P=2 --Q=3 <xfile.wav> <yfile.wav>
The new sample rate is Fy = (2 / 3)Fx

Download

Date Version Source Binary
2008-12-28 1.0 wavutil-src-1.0.zip wavutil.exe