Linux Commands Examples

A great documentation place for Linux commands


encode wav files to wavpack

see also : wvunpack - wvgain


wavpack [-options] INFILE... [-o OUTFILE]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


wavpack encodes wav files containing uncompressed audio (or raw PCM data) into WavPack files using the options provided. The resulting filename will be source-name.wv unless overridden with the -o switch. Multiple input files may be specified resulting in multiple WavPack files, and in that case -o may be used to specify an alternate target directory. Stdin and stdout may be specified with “-”. To decode WavPack files back to wav or raw PCM use the wvunpack program.



Adobe Audition (CoolEdit) mode for 32-bit floats


enable hybrid compression, n = 2.0 to 23.9 bits/sample, or n = 24-9600 kbits/second (kbps)


specify block size in samples (max = 131072 and min = 16 with --merge-blocks, otherwise 128)


create correction file (.wvc) for hybrid mode (results in 2-file lossless compression)


maximum hybrid compression (hurts lossy quality & decode speed)


specify (comma separated) channel order if not Microsoft standard (which is FL,FR,FC,LFE,BL,BR,LC,FRC,BC,SL,SR,TC,TFL,TFC,TFR,TBL,TBC,TBR); specify “...” to indicate that channels are not assigned to specific speakers, or terminate list with “...” to indicate that any channels beyond those specified are unassigned


delete source file if successful (use with caution!)


fast mode (fast, but some compromise in compression ratio)


high quality (better compression ratio, but slower encode and decode than default mode)


very high quality (best compression, but slowest and NOT recommended for use on portable playback devices)


display extended help


ignore length in wav header (no pipe output allowed)


joint-stereo override (0 = left/right, 1 = mid/side)


compute & store MD5 signature of raw audio data


merge consecutive blocks with equal redundancy (used with --blocksize option and is useful for files generated by the lossyWAV program or decoded HDCD files)


calculate average and peak quantization noise (hybrid only, reference fullscale sine)


don´t recode passed tags from local encoding to UTF-8, assume they are in UTF-8 already


encode unassigned channels into stereo pairs


practical float storage (also 32-bit ints, not lossless)


quiet (keep console output to a minimum)


generate a new RIFF WAV header (any extra RIFF info in original file will be discarded)


intput data is raw pcm (44,100 Hz, 16-bit, 2-channels)


intput data is raw pcm with specified sample-rate, bit-depth, and number of channels (specify 32f for 32-bit floating point data)


override default hybrid mode noise shaping where n is a float value between -1.0 and 1.0; negative values move noise lower in freq, positive values move noise higher in freq, use 0 for no shaping (white noise)


copy input file´s time stamp to output file(s)


force use of dynamic noise shaping (hybrid mode only)

-w “Field=Value

write specified text metadata to APEv2 tag

-w “Field=[:at:]file[:dot:]ext

write specified text metadata from file to APEv2 tag, normally used for embedded cuesheets and logs (field names “Cuesheet” and “Log”)

--write-binary-tag “Field=[:at:]file[:dot:]ext

write the specified binary metadata file to APEv2 tag, normally used for cover art with the specified field name “Cover Art (Front)”


extra encode processing (optional n = 1 to 6, 1=default), -x1 to -x3 to choose best of predefined filters, -x4 to -x6 to generate custom filters (very slow!)


yes to all warnings (use with caution!)


Copyright © 2005 Sebastian Dröge
Copyright © 2009 David Bryant

see also

wvunpack , wvgain

Please visit for more information


Sebastian Dröge <slomo[:at:]debian[:dot:]org>


David Bryant <david[:at:]wavpack[:dot:]com>


How can this site be more helpful to YOU ?

give  feedback