Content-type: text/html Manpage of fixwav

fixwav

Section: User Commands (1)
Updated: 0.1.3 (August 2008)
Index Return to Main Contents
 

NAME

fixwav  

SYNOPSIS

fixwav [OPTIONS] WAV files  

DESCRIPTION

fixwav tests compliance of WAV file headers to standard.  

OPTIONS

-q|--quiet

silent mode: no dialog or screen output. Options -b, -s, -c must be set. Warning: write operations will be enabled. -q should preferably be used first.

-h|--help

prints this help

-V|--version

prints version

-a|--automatic

automatic mode
it is advised to use -o in conjunction with -a. DO NOT use this mode if file has one of the following characteristics:
- three channels; - bit rate is not 16 or 24 bits per sample.

-p|--prepend

prepends new header to sound file. Input file must be raw (header-less).

-k|--prune

prune file if terminated by zeros and adjust header.

-d|--dry

corrects header and checks coherence without writing files.

-b|--bit-rate

bit rate (number of bits per sample, e.g. 16 or 24)

-s|--sample-rate

sample rate in kHz (number of samples per second, e.g. 44.1 or 96)

-c|--channels

number of channels (1 to 6)

-o|--output

followed by the filename (+path) of output file as argument.

-l|--log

log filename (+path)

Input filename (+path) is an obligatory argument.

Version 0.1.3

Copyright pigiron 2007, Fabrice Nicol 2008 (revised version) <fabnicol@users.sourceforge.net>. Released under GPLv3. This software comes under NO GUARANTEE. Please backup your files before running this utility.

This utility will attempt to fix an invalid audio WAVE header. While it should function correctly for any valid number of channels, bits per sample, and samples per second, it will only work correctly on 'normal' WAVE files that contain a single data 'chunk'. Meaning that if the file has extra subchunks or any junk at the end of the file, it will create an incorrect WAVE header.

Two processing modes are available: automatic mode and manual mode

Manual mode

You must have some knowledge of how the WAVE file was recorded:

* the number of bits per sample * the number of samples per second * the number of channels

It will allways prompt before making any modifications to your existing file. if options -b, -s or -c are not used, a dialog will request values.

Automatic mode

fixwav will try to automatically guess how the WAVE file was recorded and will perform repairs automatically.

Please do not use in-place editing mode (see below) as erroneous guesses could damage your file.

 

EXAMPLES

Options which do not take arguments can be combined as in:

fixwav oldfile.wav -ap -o newfile.wav

or, alternatively:

fixwav -o newfile.wav -a -p oldfile.wav

Options can be placed in any order. Legacy syntax is still available and corresponds to in-place manual mode:

fixwav oldfile.wav  

AUTHOR

Written by Fabrice Nicol and Pigiron.  

REPORTING BUGS

Report bugs to fabnicol@users.sourceforge.net

Copyright 2008, Fabrice Nicol, 2008; 2007, Pigiron

Latest version available from http://dvd-audio.sourceforge.net/

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

SEE ALSO

dvda-author(1).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
AUTHOR
REPORTING BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 00:28:53 GMT, August 24, 2008