It looks alright to me.
Thanks, Mitch.
Many thanks to Robert for the pointer to the GNU Coding Standards documentation. Does the following seem to more closely comply?
lossyWAV 1.0.0, Copyright (C) 2007,2008 Nick Currie. Copyleft.
Issued as free software; License: GNU GPL; Issued with NO WARRANTY WHATSOEVER.
Usage : lossyWAV <input wav file> <options>
Example : lossyWAV musicfile.wav
Quality Options:
-q, --quality <n> quality preset (10=highest quality, 0=lowest bitrate;
-q 5 is generally accepted to be transparent)
default=-q 5.
Standard Options:
-c, --check check if WAV file has already been processed; default=off.
errorlevel=16 if already processed, 0 if not.
-C, --correction write correction file for processed WAV file; default=off.
-f, --force forcibly over-write output file if it exists; default=off.
-h, --help display help.
-L, --longhelp display extended help.
-M, --merge merge existing lossy.wav and lwcdf.wav files.
-N, --noclips set allowable number of clips / channel / codec block to 0;
default=3,3,3,3,2,1,0,0,0,0,0 (-q 0 to -q 10)
-o, --outdir <dir> destination directory for the output file(s).
-v, --version display the lossyWAV version number.
Advanced Options:
-a, --analyses <n> select number of FFT analysis lengths to use; (2<=n<=5);
default=2, i.e. 64 sample and 1024 sample FFT analyses;
(3=+128 sample FFT; 4=+256 sample FFT; 5=+512 sample FFT).
-F, --fft32 enable 32 sample FFT for improved impulse detection;
defaults: -q 0 to 2=off; -q 3 to 10=on.
-m, --minbits <n> select minimum bits to keep (0.00<=n<=8.00);
default=2.9,2.95,3,3.125,3.25,3.375,3.5,3.625,3.75,3.875,4.
-s, --scale <n> scaling factor from WaveGain, etc; default=1.000000; n<>0!
System Options:
-d, --detail enable detailed output mode
-n, --nowarnings suppress lossyWAV warnings.
-Q, --quiet significantly reduce screen output.
-b, --below set process priority to below normal.
-l, --low set process priority to low.
Special thanks:
David Robinson for the method itself and motivation to implement it.
Don Cross for the original Pascal source for the FFT algorithm used.
Horst Albrecht for valuable tuning input and feedback.